[kbd] [PATCH 3/4] kbdrate.c, openvt.c: include <fcntl.h> for open()
Felix Janda
felix.janda at posteo.de
Thu Dec 4 23:57:25 MSK 2014
---
src/kbdrate.c | 1 +
src/openvt.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/kbdrate.c b/src/kbdrate.c
index 712a1a7..ec7ec4b 100644
--- a/src/kbdrate.c
+++ b/src/kbdrate.c
@@ -68,6 +68,7 @@ beats rebuilding the kernel!
*/
+#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
diff --git a/src/openvt.c b/src/openvt.c
index 075136f..24d2709 100644
--- a/src/openvt.c
+++ b/src/openvt.c
@@ -1,3 +1,4 @@
+#include <fcntl.h>
#include <stdio.h>
#include <stdarg.h>
#include <unistd.h>
--
2.0.4
More information about the kbd
mailing list