mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-15 23:38:05 -04:00
32 lines
734 B
Plaintext
32 lines
734 B
Plaintext
$NetBSD: patch-ab,v 1.2 2005/12/30 22:41:27 joerg Exp $
|
|
|
|
--- bitesex.h.orig 1997-05-25 21:18:10.000000000 +0000
|
|
+++ bitesex.h
|
|
@@ -19,13 +19,15 @@
|
|
#ifdef _INCLUDE_HPUX_SOURCE
|
|
#include <machine/param.h>
|
|
#else
|
|
-#ifdef __mips
|
|
+#if defined(__mips) && !defined(__NetBSD__)
|
|
#include <sex.h>
|
|
#else
|
|
#ifdef _AIX
|
|
#include <sys/machine.h>
|
|
#else
|
|
-#ifdef __FreeBSD__
|
|
+#if defined(__DragonFly__)
|
|
+#include <sys/endian.h>
|
|
+#elif defined(__FreeBSD__) || defined(__NetBSD__)
|
|
#include <machine/endian.h>
|
|
#else
|
|
#if defined(__svr4__)
|
|
@@ -37,7 +39,7 @@
|
|
#error Compiling for an unknown architecture!
|
|
#endif /* Win95 */
|
|
#endif /* SVR4 */
|
|
-#endif /* FreeBSD */
|
|
+#endif /* FreeBSD/NetBSD */
|
|
#endif /* AIX */
|
|
#endif /* DEC */
|
|
#endif /* HPUX */
|