aports/main/rhash/byteorder.patch
2018-03-26 19:12:59 +00:00

14 lines
355 B
Diff

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__)