--- kbd-2.0.1.orig/src/openvt.c	2013-08-27 22:45:33.000000000 +0200
+++ kbd-2.0.1/src/openvt.c	2014-03-24 12:48:07.000000000 +0100
@@ -1,3 +1,5 @@
+#include <fcntl.h>
+#include <limits.h>
 #include <stdio.h>
 #include <stdarg.h>
 #include <unistd.h>