summaryrefslogtreecommitdiff
path: root/driver/xf86-video-wsfb/src
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-08-29 15:20:41 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-08-29 15:20:41 +0000
commit8fcac0154c22968e6404a010c92718532d144d5e (patch)
tree704ce71abe1b7c552daa15304c4c2ee43ce94cec /driver/xf86-video-wsfb/src
parent24d82aade141257bb1e3866b2468e2793499d092 (diff)
Add missing headers for ioctl() and getpagesize() prototypes.
Diffstat (limited to 'driver/xf86-video-wsfb/src')
-rw-r--r--driver/xf86-video-wsfb/src/wsfb_driver.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/driver/xf86-video-wsfb/src/wsfb_driver.c b/driver/xf86-video-wsfb/src/wsfb_driver.c
index 582084c0d..69b69b26e 100644
--- a/driver/xf86-video-wsfb/src/wsfb_driver.c
+++ b/driver/xf86-video-wsfb/src/wsfb_driver.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsfb_driver.c,v 1.22 2010/07/18 20:10:12 matthieu Exp $ */
+/* $OpenBSD: wsfb_driver.c,v 1.23 2010/08/29 15:20:40 matthieu Exp $ */
/*
* Copyright (c) 2001 Matthieu Herrb
* All rights reserved.
@@ -42,6 +42,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>