summaryrefslogtreecommitdiff
path: root/devel/uboot-mkimage/files/patch-include__compiler.h
blob: 641a05f8786fb35e15c34cef4a39164ab6f83b64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./include/compiler.h.orig	2010-12-22 21:22:14.000000000 +0200
+++ ./include/compiler.h	2011-01-13 13:50:35.000000000 +0200
@@ -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