summaryrefslogtreecommitdiff
path: root/games/maelstrom-x11/patches/patch-ab
blob: c15135a90d9e0c6adcdb45d9c3fd6e9e0926da25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ab,v 1.1.1.1 2002/07/11 13:26:13 wiz Exp $

--- bitesex.h.orig	Sun May 25 17:18:10 1997
+++ bitesex.h	Mon Jul 24 17:55:08 2000
@@ -20,5 +20,5 @@
 #include <machine/param.h>
 #else
-#ifdef __mips
+#if defined(__mips) && !defined(__NetBSD__)
 #include <sex.h>
 #else
@@ -26,5 +26,5 @@
 #include <sys/machine.h>
 #else
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__NetBSD__)
 #include <machine/endian.h>
 #else
@@ -38,5 +38,5 @@
 #endif /* Win95 */
 #endif /* SVR4 */
-#endif /* FreeBSD */
+#endif /* FreeBSD/NetBSD */
 #endif /* AIX */
 #endif /* DEC */