summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-17 18:58:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-17 19:09:04 -0700
commitdef6d25fc3918caf890a5a63bff6f2b9e0d3dcb9 (patch)
treee56614f88f32297a7d2c877840a008ee0e1c91c8 /src
parent43b8136a07fbbdf6e5bdd786d06be89904fc0854 (diff)
unifdef DGUX
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/XF86DGA.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/XF86DGA.c b/src/XF86DGA.c
index ffae13c..ffadf0b 100644
--- a/src/XF86DGA.c
+++ b/src/XF86DGA.c
@@ -26,20 +26,12 @@ Copyright (c) 1995,1996 The XFree86 Project, Inc
#include <sys/mman.h>
#endif /* CSRG_BASED */
-#if defined(DGUX)
-#define HAS_GETPAGESIZE
-#define MMAP_DEV_ZERO
-#include <sys/types.h>
-#include <sys/mman.h>
-#include <unistd.h>
-#endif /* DGUX */
-
-#if defined(SVR4) && !defined(DGUX)
+#if defined(SVR4)
#define MMAP_DEV_ZERO
#include <sys/types.h>
#include <sys/mman.h>
#include <unistd.h>
-#endif /* SVR4 && !DGUX */
+#endif /* SVR4 */
#ifdef XNO_SYSCONF
#undef _SC_PAGESIZE