summaryrefslogtreecommitdiff
path: root/emulators/xm7/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/xm7/patches/patch-ac')
-rw-r--r--emulators/xm7/patches/patch-ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/xm7/patches/patch-ac b/emulators/xm7/patches/patch-ac
new file mode 100644
index 00000000000..d3b8d4f793a
--- /dev/null
+++ b/emulators/xm7/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/12/13 17:12:19 kei Exp $
+
+--- xw_disp.c.orig Thu Mar 23 01:01:00 2000
++++ xw_disp.c Sat Aug 12 12:32:32 2000
+@@ -24,11 +24,14 @@
+ #include <X11/Xatom.h>
+ #include <X11/keysym.h>
+ #include <string.h>
++#if defined(__NetBSD__)
++#include <errno.h>
++#endif
+ #include <sys/time.h>
+ #include <sys/errno.h>
+ /**/
+ #include <X11/extensions/XShm.h>
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <machine/param.h>
+ #endif
+ #include <sys/types.h>