diff options
Diffstat (limited to 'editors/openoffice.org-1.0/files/patch-sal+inc+osl+endian.h')
-rw-r--r-- | editors/openoffice.org-1.0/files/patch-sal+inc+osl+endian.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/openoffice.org-1.0/files/patch-sal+inc+osl+endian.h b/editors/openoffice.org-1.0/files/patch-sal+inc+osl+endian.h new file mode 100644 index 000000000000..95e5d1861a70 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-sal+inc+osl+endian.h @@ -0,0 +1,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 |