aboutsummaryrefslogtreecommitdiffstats
path: root/main/rabbitmq-c/musl-fix.patch
blob: e76b082f92d5741b2bbcce8b376f5e60ebfc79c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./librabbitmq/amqp_private.h.orig
+++ ./librabbitmq/amqp_private.h
@@ -262,7 +262,7 @@
   }
 
 /* Determine byte order */
-#if defined(__GLIBC__)
+#if defined(__linux__)
 # include <endian.h>
 # if (__BYTE_ORDER == __LITTLE_ENDIAN)
 #  define AMQP_LITTLE_ENDIAN