summaryrefslogtreecommitdiff
path: root/x11/xservers/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xservers/patches/patch-af')
-rw-r--r--x11/xservers/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/xservers/patches/patch-af b/x11/xservers/patches/patch-af
new file mode 100644
index 00000000000..2e34bf16c35
--- /dev/null
+++ b/x11/xservers/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2006/01/06 17:20:21 tron Exp $
+
+--- programs/Xserver/include/misc.h.orig 1997-06-30 14:44:46.000000000 +0100
++++ programs/Xserver/include/misc.h 2006-01-06 17:01:51.000000000 +0000
+@@ -78,6 +78,8 @@
+ extern unsigned long globalSerialNumber;
+ extern unsigned long serverGeneration;
+
++#include <stdlib.h>
++
+ #include <X11/Xosdefs.h>
+ #include <X11/Xfuncproto.h>
+ #include <X11/Xmd.h>