]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 91dbe56994c240c42be04b9d9e848e0e7a1f33c5..4e047c7fd2cd08646a5e5b0bea47bb2dd46666c7 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