summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl/files/patch-hpijs:platform.h
blob: 8243385b25b36b44bef0adfe3c9a5f33d40cf085 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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