hurd
authorVagrant Cascadian <vagrant@debian.org>
Tue, 5 Dec 2017 23:43:23 +0000 (23:43 +0000)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 5 Dec 2017 23:43:23 +0000 (23:43 +0000)
===================================================================

Gbp-Pq: Name hurd.diff

include/compiler.h

index a43fb6a7386176ce556a60f04d0a2c19996e5745..8ded585a11f7def82ddafd055e00fa2381cc88ae 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__)