[kbd] [PATCH 2/4] libkeymap: include <sys/types.h> for u_short
Felix Janda
felix.janda at posteo.de
Thu Dec 4 23:57:10 MSK 2014
---
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
More information about the kbd
mailing list