[kbd] [PATCH 2/4] libkeymap: include <sys/types.h> for u_short

Felix Janda <[email protected]>
Newsgroups dev.linux.lists.kbd
Message-ID <20141204195710.GC5691@euler>
---
 src/libkeymap/dump.c    | 1 +
 src/libkeymap/kmap.c    | 1 +
 src/libkeymap/summary.c | 1 +
 3 files changed, 3 insertions(+)

diff --git a/src/libkeymap/dump.c b/src/libkeymap/dump.c
index 0262e24..606931e 100644
--- a/src/libkeymap/dump.c
+++ b/src/libkeymap/dump.c
@@ -13,6 +13,7 @@
 #include <string.h>
 #include <ctype.h>
 #include <unistd.h>
+#include <sys/types.h>
 
 #include "keymap.h"
 
diff --git a/src/libkeymap/kmap.c b/src/libkeymap/kmap.c
index 67be81e..e13498b 100644
--- a/src/libkeymap/kmap.c
+++ b/src/libkeymap/kmap.c
@@ -1,5 +1,6 @@
 #include <stdlib.h>
 #include <string.h>
+#include <sys/types.h>
 
 #include "nls.h"
 #include "kbd.h"
diff --git a/src/libkeymap/summary.c b/src/libkeymap/summary.c
index 46df90d..0912ae8 100644
--- a/src/libkeymap/summary.c
+++ b/src/libkeymap/summary.c
@@ -9,6 +9,7 @@
 #include <string.h>
 #include <errno.h>
 #include <sys/ioctl.h>
+#include <sys/types.h>
 
 #include "keymap.h"
 
-- 
2.0.4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.