aboutsummaryrefslogtreecommitdiffstats
path: root/community/v4l-utils/types.patch
blob: 340bb81c029b1779d2dde8e21a82dda981b5d7c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/utils/keytable/keymap.h
+++ b/utils/keytable/keymap.h
@@ -2,6 +2,10 @@
 #ifndef __KEYMAP_H
 #define __KEYMAP_H
 
+#include <stdint.h>
+typedef uint32_t u_int32_t;
+typedef int error_t;
+
 struct keymap {
	struct keymap *next;
	char *name;
--- a/utils/ir-ctl/keymap.h
+++ b/utils/ir-ctl/keymap.h
@@ -2,6 +2,10 @@
 #ifndef __KEYMAP_H
 #define __KEYMAP_H
 
+#include <stdint.h>
+typedef uint32_t u_int32_t;
+typedef int error_t;
+
 struct keymap {
	struct keymap *next;
	char *name;