summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2012-01-01 16:05:11 +0100
committerMatthieu Herrb <matthieu.herrb@laas.fr>2012-01-01 16:05:40 +0100
commit78bb956de171c089e934457e9494858c804b1b86 (patch)
tree6adbaa051df47bbd1c71105fa98bc707352bf963
parent2ad009debfd9144269dd77c60283bd740efd6c7b (diff)
Add missing headers for ioctl() and getpagesize() prototypes
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
-rw-r--r--src/wsfb_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wsfb_driver.c b/src/wsfb_driver.c
index 1eae91f..8cd10a1 100644
--- a/src/wsfb_driver.c
+++ b/src/wsfb_driver.c
@@ -41,6 +41,8 @@
#include <errno.h>
#include <fcntl.h>
+#include <unistd.h>
+#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/time.h>