[PATCH v4l-utils] keymap.h needs sys/types.h and argp.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes:

  keymap.h:23:2: error: unknown type name ‘u_int32_t’
  keymap.h:36:1: error: unknown type name ‘error_t’

Signed-off-by: Peter Seiderer <ps.report@xxxxxxx>
---
 utils/common/keymap.c      | 2 ++
 utils/ir-ctl/bpf_encoder.c | 1 +
 2 files changed, 3 insertions(+)

diff --git a/utils/common/keymap.c b/utils/common/keymap.c
index f574f24f..d06deb59 100644
--- a/utils/common/keymap.c
+++ b/utils/common/keymap.c
@@ -9,6 +9,8 @@
 #include <string.h>
 #include <limits.h>
 #include <stdbool.h>
+#include <sys/types.h>
+#include <argp.h>
 
 #include "keymap.h"
 #include "toml.h"
diff --git a/utils/ir-ctl/bpf_encoder.c b/utils/ir-ctl/bpf_encoder.c
index 82d12cc0..e3e705e7 100644
--- a/utils/ir-ctl/bpf_encoder.c
+++ b/utils/ir-ctl/bpf_encoder.c
@@ -5,6 +5,7 @@
 #include <errno.h>
 #include <string.h>
 #include <sys/types.h>
+#include <argp.h>
 
 #include "keymap.h"
 
-- 
2.24.0





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux