mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
[package] busybox: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e645dfd6f5
commit
69c098312d
11
package/busybox/patches/920-freebsd_fixes.patch
Normal file
11
package/busybox/patches/920-freebsd_fixes.patch
Normal file
@ -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! */
|
Loading…
Reference in New Issue
Block a user