diff options
Diffstat (limited to 'comms/estic/patches/patch-spunk_machine.h')
-rw-r--r-- | comms/estic/patches/patch-spunk_machine.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/comms/estic/patches/patch-spunk_machine.h b/comms/estic/patches/patch-spunk_machine.h new file mode 100644 index 00000000000..938d2fd830b --- /dev/null +++ b/comms/estic/patches/patch-spunk_machine.h @@ -0,0 +1,22 @@ +$NetBSD: patch-spunk_machine.h,v 1.1 2012/11/16 00:37:46 joerg Exp $ + +--- spunk/machine.h.orig 1997-02-18 14:41:50.000000000 +0000 ++++ spunk/machine.h +@@ -238,7 +238,7 @@ typedef unsigned u32; + # define CPU_LITTLE_ENDIAN + #elif (BYTE_ORDER == BIG_ENDIAN) + # define CPU_BIG_ENDIAN +-#elif ++#else + # error Byte order not defined! + #endif + +@@ -312,7 +312,7 @@ typedef unsigned u32; + + #ifdef SOLARIS + +-#include <sys/endian.h> ++#include <sys/byteorder.h> + #ifdef _BIG_ENDIAN + # define CPU_BIG_ENDIAN + #else |