pkgsrc/emulators/xm7/patches/patch-ac
kei 9d51806bb7 Initial import of "xm7" package.
X11-based FM-7 emulator
2000-12-13 17:12:19 +00:00

20 lines
501 B
Text

$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>