opnsense-ports/devel/uboot-mkimage/files/patch-include__compiler.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
351 B
C

--- ./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