a6361d0a69
Make this compile under NetBSD-1.4.x by moving conflicting definition in #include <unistd.h> upfront.
21 lines
419 B
Text
21 lines
419 B
Text
$NetBSD: patch-ac,v 1.1 2000/10/01 14:03:27 rh Exp $
|
|
|
|
--- display/xf86dga/XF86DGA.c.orig Tue Apr 13 00:57:20 1999
|
|
+++ display/xf86dga/XF86DGA.c
|
|
@@ -6,6 +6,8 @@
|
|
|
|
*/
|
|
|
|
+#include <unistd.h>
|
|
+
|
|
/* THIS IS NOT AN X CONSORTIUM STANDARD */
|
|
|
|
/* Defines */
|
|
@@ -283,7 +285,6 @@
|
|
#include <X11/Xmd.h>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
-#include <unistd.h>
|
|
#include <fcntl.h>
|
|
#if defined(ISC)
|
|
# define HAS_SVR3_MMAP
|