blob: 938d2fd830ba56d0a586ed2632ebacdcee7d9f14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
|