wireguard-tools: add tunlink option for hostroute
[openwrt/openwrt.git] / package / boot / uboot-ar71xx / patches / 023-musl-compat.patch
1 --- a/include/compiler.h 2018-08-29
2 +++ b/include/compiler.h 2018-08-29
3 @@ -46,6 +46,10 @@ extern int errno;
4 #ifdef __linux__
5 # include <endian.h>
6 # include <byteswap.h>
7 +#ifndef __GLIBC__
8 +typedef unsigned long ulong;
9 +typedef unsigned int uint;
10 +#endif
11 #elif defined(__MACH__) || defined(__FreeBSD__)
12 # include <machine/endian.h>
13 typedef unsigned long ulong;