summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-09-29 22:04:44 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-09-29 22:04:44 +0000
commitf58c36d18c1a266e7bfad781a0745f0e96cb48d7 (patch)
tree972a5dca6c249907ea83291ae42b1a1f79b7e6c0
parentbf2790827622529945fa802970b646c525a659c8 (diff)
Get rid of the old XFree86 libc wrapper.
-rw-r--r--driver/xf86-video-wsfb/src/wsfb_driver.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/driver/xf86-video-wsfb/src/wsfb_driver.c b/driver/xf86-video-wsfb/src/wsfb_driver.c
index f99b4aa2c..0ad83348a 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.13 2008/01/20 18:45:06 jasper Exp $ */
+/* $OpenBSD: wsfb_driver.c,v 1.14 2008/09/29 22:04:43 matthieu Exp $ */
/*
* Copyright (c) 2001 Matthieu Herrb
* All rights reserved.
@@ -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 drivers 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 X_PRIVSEP
extern int priv_open_device(const char *);
#else