pkgsrc/graphics/libggi/patches/patch-ac
rh a6361d0a69 Add runtime library search patch.
Make this compile under NetBSD-1.4.x by moving conflicting definition in
#include <unistd.h> upfront.
2000-10-01 14:03:27 +00:00

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