aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript8/files/patch-hpijs:platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript8/files/patch-hpijs:platform.h')
-rw-r--r--print/ghostscript8/files/patch-hpijs:platform.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/print/ghostscript8/files/patch-hpijs:platform.h b/print/ghostscript8/files/patch-hpijs:platform.h
new file mode 100644
index 000000000000..8243385b25b3
--- /dev/null
+++ b/print/ghostscript8/files/patch-hpijs:platform.h
@@ -0,0 +1,13 @@
+--- hpijs/platform.h.orig Wed Oct 3 03:56:37 2001
++++ hpijs/platform.h Wed Oct 3 04:20:33 2001
+@@ -13,3 +13,10 @@
+ #include <string.h>
+ #include <stdio.h>
+ #include <math.h>
++
++#ifdef __FreeBSD__
++#include <machine/endian.h>
++#if BYTE_ORDER == LITTLE_ENDIAN
++#define _LITTLE_ENDIAN
++#endif
++#endif