1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-15 23:59:43 +02:00
openwrt-xburst/package/busybox/patches/920-freebsd_fixes.patch

12 lines
315 B
Diff
Raw Normal View History

--- 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! */