From e75106aa0d82a64122954b5990b50ec80d8e4040 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 16 Oct 2012 13:44:25 +0000 Subject: move boot related packages to their own folder SVN-Revision: 33781 --- package/boot/uboot-ar71xx/patches/020-freebsd-compat.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/boot/uboot-ar71xx/patches/020-freebsd-compat.patch (limited to 'package/boot/uboot-ar71xx/patches/020-freebsd-compat.patch') diff --git a/package/boot/uboot-ar71xx/patches/020-freebsd-compat.patch b/package/boot/uboot-ar71xx/patches/020-freebsd-compat.patch new file mode 100644 index 0000000000..fee06699c9 --- /dev/null +++ b/package/boot/uboot-ar71xx/patches/020-freebsd-compat.patch @@ -0,0 +1,11 @@ +--- a/include/compiler.h ++++ b/include/compiler.h +@@ -46,7 +46,7 @@ extern int errno; + #ifdef __linux__ + # include + # include +-#elif defined(__MACH__) ++#elif defined(__MACH__) || defined(__FreeBSD__) + # include + typedef unsigned long ulong; + typedef unsigned int uint; -- cgit v1.2.3