include/compiler.h: typedef ulong for FreeBSD
authorJeroen Hofstee <jeroen@myspectrum.nl>
Tue, 19 Jul 2011 10:41:48 +0000 (10:41 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 28 Jul 2011 19:17:11 +0000 (21:17 +0200)
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
include/compiler.h

index 91dbe56..4e047c7 100644 (file)
@@ -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