Add more license tags with SPDX identifiers
[openwrt/staging/wigyori.git] / package / boot / uboot-ar71xx / patches / 020-freebsd-compat.patch
1 --- a/include/compiler.h
2 +++ b/include/compiler.h
3 @@ -46,7 +46,7 @@ extern int errno;
4 #ifdef __linux__
5 # include <endian.h>
6 # include <byteswap.h>
7 -#elif defined(__MACH__)
8 +#elif defined(__MACH__) || defined(__FreeBSD__)
9 # include <machine/endian.h>
10 typedef unsigned long ulong;
11 typedef unsigned int uint;