f823417ea98878de739fcbe0e99e8fe846c732e4
[openwrt.git] / package / busybox / patches / 920-freebsd_fixes.patch
1 --- a/include/platform.h
2 +++ b/include/platform.h
3 @@ -253,7 +253,7 @@ typedef int socklen_t;
4  # define HAVE_FEATURES_H
5  # include <stdint.h>
6  # define HAVE_STDINT_H
7 -#elif !defined __APPLE__
8 +#elif !defined(__APPLE__) && !defined(__FreeBSD__)
9  /* Largest integral types. */
10  # if BB_BIG_ENDIAN
11  /* Looks BROKEN! */