aboutsummaryrefslogtreecommitdiffstats
path: root/games/edge/files/patch-epi__endianess.h
blob: 78c8a3c937bbf4c35fefdd48e63502c1360cd405 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ./epi/endianess.h.orig  Sat Oct 14 05:10:38 2006
+++ ./epi/endianess.h   Wed Dec  5 23:19:09 2007
@@ -41,7 +41,11 @@
 // The macros used to swap values.  Try to use superfast macros on systems
 // that support them, otherwise use C++ inline functions.
 #ifdef LINUX
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#else
 #include <endian.h>
+#endif
 #ifdef __arch__swab16
 #define EPI_Swap16  __arch__swab16
 #endif