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

Jeroen Hofstee jeroen at myspectrum.nl
Tue Jul 19 22:41:48 CEST 2011


Signed-off-by: Jeroen Hofstee <jeroen at 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



More information about the U-Boot mailing list