From: Jeroen Hofstee <jeroen@myspectrum.nl>
Date: Tue, 19 Jul 2011 10:41:48 +0000 (+0000)
Subject: include/compiler.h: typedef ulong for FreeBSD
X-Git-Tag: v2025.01-rc5-pxa1908~19157
X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=5bce5dc33d6313ace88bef2081f71532c9e6a4f1;p=u-boot.git

include/compiler.h: typedef ulong for FreeBSD

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
---

diff --git a/include/compiler.h b/include/compiler.h
index 91dbe56994..4e047c7fd2 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