summaryrefslogtreecommitdiffstats
path: root/editors/openoffice-1.1/files/patch-sal+inc+osl+endian.h
blob: 95e5d1861a70ec67009a76ba9d47855e0acae63a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ../sal/inc/osl/endian.h.orig	Thu May  8 20:19:09 2003
+++ ../sal/inc/osl/endian.h	Thu May  8 20:29:00 2003
@@ -107,7 +107,9 @@
 #endif
 
 #ifdef FREEBSD
+#   include <sys/param.h>
 #   include <machine/endian.h>
+#if __FreeBSD_version < 500000
 #   if BYTE_ORDER == LITTLE_ENDIAN
 #   	define _LITTLE_ENDIAN
 #   elif BYTE_ORDER == BIG_ENDIAN
@@ -115,6 +117,7 @@
 #   elif BYTE_ORDER == PDP_ENDIAN
 #   	define _PDP_ENDIAN
 #   endif
+#endif
 #endif
 
 #ifdef SCO
OpenPOWER on IntegriCloud