summaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/920-freebsd_fixes.patch
blob: f823417ea98878de739fcbe0e99e8fe846c732e4 (plain)
1
2
3
4
5
6
7
8
9
10
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! */