summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2008-09-30 00:09:30 +0200
committerMatthieu Herrb <matthieu.herrb@laas.fr>2008-09-30 00:12:28 +0200
commit5f5df6a1e170317d323b7e1ea45f7560b4067ad3 (patch)
tree7bbe40e873968c9e5cf477479bd83856e8353bec
parent42c0fcc9e255619d03b705a4da1e0978075b79e2 (diff)
Remove old libc wrapper stuff. now works with xserver 1.5.
-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