hurd
authorVagrant Cascadian <vagrant@debian.org>
Thu, 22 Dec 2016 04:44:44 +0000 (04:44 +0000)
committerVagrant Cascadian <vagrant@debian.org>
Thu, 22 Dec 2016 04:44:44 +0000 (04:44 +0000)
===================================================================

Gbp-Pq: Name hurd.diff

include/compiler.h

index 65b826e4d187df332eecc124da5848e5e643f63d..da616179c1398e59aa0f0962e50a2a572c156c7c 100644 (file)
@@ -15,7 +15,7 @@
     defined(__sun__)    || \
     defined(__APPLE__)
 # include <inttypes.h>
-#elif defined(__linux__) || defined(__WIN32__) || defined(__MINGW32__) || defined(__OpenBSD__)
+#elif defined(__linux__) || defined(__WIN32__) || defined(__MINGW32__) || defined(__OpenBSD__) || defined(__GLIBC__)
 # include <stdint.h>
 #endif
 
@@ -41,7 +41,7 @@
 #define O_BINARY       0
 #endif
 
-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
 # include <endian.h>
 # include <byteswap.h>
 #elif defined(__MACH__) || defined(__FreeBSD__)