summaryrefslogtreecommitdiff
path: root/src/XF86DGA.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XF86DGA.c')
-rw-r--r--src/XF86DGA.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/XF86DGA.c b/src/XF86DGA.c
index ceff6b3..b60c377 100644
--- a/src/XF86DGA.c
+++ b/src/XF86DGA.c
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/Xxf86dga/XF86DGA.c,v 3.22 2002/12/14 04:41:12 dawes Exp $ */
+/* $XFree86: xc/lib/Xxf86dga/XF86DGA.c,v 3.24 2003/05/05 20:42:30 tsi Exp $ */
/*
Copyright (c) 1995 Jon Tombs
@@ -11,6 +11,7 @@ Copyright (c) 1995,1996 The XFree86 Project, Inc
#ifdef __UNIXOS2__ /* needed here to override certain constants in X headers */
#define INCL_DOS
#define INCL_DOSIOCTL
+#define I_NEED_OS2_H
#include <os2.h>
#endif
@@ -376,6 +377,8 @@ Bool XF86DGAViewPortChanged(
#define DEV_MEM "/dev/pmem"
#elif defined(SVR4) && defined(sun)
#define DEV_MEM "/dev/xsvc"
+#elif defined(HAS_APERTURE_DRV)
+#define DEV_MEM "/dev/xf86"
#else
#define DEV_MEM "/dev/mem"
#endif