diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-07-22 08:28:39 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-07-22 08:28:39 +0000 |
commit | 403775de3c45b3f71bf16a66aaf41ca2716f51ea (patch) | |
tree | 9f26f0300dd06fc94d8f7ee25f608bc1784b6a55 | |
parent | 5cc9f1ca064375d695e9dad3dff65dd24b7cf3bd (diff) | |
download | upstream-403775de3c45b3f71bf16a66aaf41ca2716f51ea.tar.gz upstream-403775de3c45b3f71bf16a66aaf41ca2716f51ea.tar.bz2 upstream-403775de3c45b3f71bf16a66aaf41ca2716f51ea.zip |
[package] busybox: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22348 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/busybox/patches/920-freebsd_fixes.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/patches/920-freebsd_fixes.patch b/package/busybox/patches/920-freebsd_fixes.patch new file mode 100644 index 0000000000..f823417ea9 --- /dev/null +++ b/package/busybox/patches/920-freebsd_fixes.patch @@ -0,0 +1,11 @@ +--- a/include/platform.h ++++ b/include/platform.h +@@ -253,7 +253,7 @@ typedef int socklen_t; + # define HAVE_FEATURES_H + # include <stdint.h> + # define HAVE_STDINT_H +-#elif !defined __APPLE__ ++#elif !defined(__APPLE__) && !defined(__FreeBSD__) + /* Largest integral types. */ + # if BB_BIG_ENDIAN + /* Looks BROKEN! */ |