summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wsfb_driver.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/wsfb_driver.c b/src/wsfb_driver.c
index c6ad4d4..0d6246b 100644
--- a/src/wsfb_driver.c
+++ b/src/wsfb_driver.c
@@ -40,15 +40,16 @@
#include "config.h"
#endif
+#include <errno.h>
#include <fcntl.h>
#include <sys/types.h>
+#include <sys/mman.h>
#include <sys/time.h>
#include <dev/wscons/wsconsio.h>
/* all driver need this */
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
#include "mipointer.h"
#include "mibstore.h"
@@ -70,12 +71,6 @@
#include "xf86xv.h"
#endif
-/* #include "wsconsio.h" */
-
-#ifndef XFree86LOADER
-#include <sys/mman.h>
-#endif
-
#ifdef USE_PRIVSEP
extern int priv_open_device(const char *);
#else