[kbd] [PATCH 3/4] kbdrate.c, openvt.c: include <fcntl.h> for open()

Felix Janda <[email protected]>
Newsgroups dev.linux.lists.kbd
Message-ID <20141204195725.GD5691@euler>
---
 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
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.