Browse Source

include/compiler.h: typedef ulong for FreeBSD

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Jeroen Hofstee 13 years ago
parent
commit
5bce5dc33d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/compiler.h

+ 1 - 1
include/compiler.h

@@ -44,7 +44,7 @@
 #ifdef __linux__
 # include <endian.h>
 # include <byteswap.h>
-#elif defined(__MACH__)
+#elif defined(__MACH__) || defined(__FreeBSD__)
 # include <machine/endian.h>
 typedef unsigned long ulong;
 #endif