OpenWrt – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 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;