summaryrefslogtreecommitdiff
path: root/include/compiler.h
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2011-07-19 10:41:48 +0000
committerWolfgang Denk <wd@denx.de>2011-07-28 21:17:11 +0200
commit5bce5dc33d6313ace88bef2081f71532c9e6a4f1 (patch)
tree78fe65d53bafa22f15cc8a5d31c192db4699c88a /include/compiler.h
parent09c2e90c110ef99f1203685acd1059114a51b167 (diff)
downloadu-boot-imx-5bce5dc33d6313ace88bef2081f71532c9e6a4f1.zip
u-boot-imx-5bce5dc33d6313ace88bef2081f71532c9e6a4f1.tar.gz
u-boot-imx-5bce5dc33d6313ace88bef2081f71532c9e6a4f1.tar.bz2
include/compiler.h: typedef ulong for FreeBSD
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'include/compiler.h')
-rw-r--r--include/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/compiler.h b/include/compiler.h
index 91dbe56..4e047c7 100644
--- a/include/compiler.h
+++ b/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