aboutsummaryrefslogtreecommitdiffstats
path: root/main/rhash/byteorder.patch
blob: a0cb83d6bcb8052a94cc29db4aaa86398f335e5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/librhash/byte_order.h b/librhash/byte_order.h
index 1ea1096..b248b57 100644
--- a/librhash/byte_order.h
+++ b/librhash/byte_order.h
@@ -4,7 +4,7 @@
 #include "ustd.h"
 #include <stdlib.h>
 
-#if defined(__GLIBC__)
+#if defined(__linux__)
 # include <endian.h>
 #endif
 #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__APPLE__)