From 1d6d3d0d8acacfc88dc0cef484028bcc45621a0d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 22 Jul 2010 08:28:39 +0000 Subject: [PATCH] busybox: fix compilation on FreeBSD SVN-Revision: 22348 --- package/busybox/patches/920-freebsd_fixes.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/busybox/patches/920-freebsd_fixes.patch diff --git a/package/busybox/patches/920-freebsd_fixes.patch b/package/busybox/patches/920-freebsd_fixes.patch new file mode 100644 index 00000000000..f823417ea98 --- /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 + # define HAVE_STDINT_H +-#elif !defined __APPLE__ ++#elif !defined(__APPLE__) && !defined(__FreeBSD__) + /* Largest integral types. */ + # if BB_BIG_ENDIAN + /* Looks BROKEN! */ -- 2.30.2