[U-Boot] [PATCH 1/3] include/compiler.h: typedef ulong for FreeBSD

Jeroen Hofstee
2011-07-19T20:41:48Z

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
---
include/compiler.h | 2 +-
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
--
1.7.5.4