summaryrefslogtreecommitdiff
path: root/emulators/xm7/patches/patch-ac
blob: d3b8d4f793ad77f10748de8fa9e51fecda9fa7bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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>