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

login
register
mail settings
Submitter Jeroen Hofstee
Date July 19, 2011, 8:41 p.m.
Message ID <1311108110-37409-2-git-send-email-jeroen@myspectrum.nl>
Download mbox | patch
Permalink /patch/105535/
State Accepted
Commit 5bce5dc33d6313ace88bef2081f71532c9e6a4f1
Headers show

Comments

Jeroen Hofstee - July 19, 2011, 8:41 p.m.
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
---
 include/compiler.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Wolfgang Denk - July 28, 2011, 7:17 p.m.
Dear Jeroen Hofstee,

In message <1311108110-37409-2-git-send-email-jeroen@myspectrum.nl> you wrote:
> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
> ---
>  include/compiler.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Patch

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