]> granicus.if.org Git - pdns/commitdiff
Use system endian defines on Hurd (as on Linux)
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Mon, 27 Jan 2014 09:48:37 +0000 (10:48 +0100)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Mon, 27 Jan 2014 09:48:37 +0000 (10:48 +0100)
pdns/dns.hh

index 3c71e9a0708beebd62537d624aef397b782731ac..47ec216cc5098f437aeb536e156ee4fb4f67fab4 100644 (file)
@@ -205,7 +205,7 @@ enum  {
 
 #if __FreeBSD__ || __APPLE__ || __OpenBSD__
 #include <machine/endian.h>
-#elif __linux__
+#elif __linux__ || __GNU__
 # include <endian.h>
 
 #else  // with thanks to <arpa/nameser.h>