You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
368 B
14 lines
368 B
![]()
6 years ago
|
--- a/include/compiler.h 2018-08-29
|
||
|
+++ b/include/compiler.h 2018-08-29
|
||
|
@@ -46,6 +46,10 @@ extern int errno;
|
||
|
#ifdef __linux__
|
||
|
# include <endian.h>
|
||
|
# include <byteswap.h>
|
||
|
+#ifndef __GLIBC__
|
||
|
+typedef unsigned long ulong;
|
||
|
+typedef unsigned int uint;
|
||
|
+#endif
|
||
|
#elif defined(__MACH__) || defined(__FreeBSD__)
|
||
|
# include <machine/endian.h>
|
||
|
typedef unsigned long ulong;
|