mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
busybox: fix compilation on FreeBSD
SVN-Revision: 22348
This commit is contained in:
parent
f8c3ebc7c6
commit
1d6d3d0d8a
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