aboutsummaryrefslogtreecommitdiffstats
path: root/testing/galera/musl-wordsize.patch
blob: 525f5329b5db5b6bfa9a2bf3572ea68e1d02cbd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/galerautils/src/gu_arch.h
+++ b/galerautils/src/gu_arch.h
@@ -50,8 +50,9 @@
 #elif defined(__APPLE__) || defined(__FreeBSD__)
 # include <stdint.h>
 # define GU_WORDSIZE __WORDSIZE
-#else
-# include <bits/wordsize.h>
+#else /* use this instead of bits/wordsize.h */
+# include <stdint.h>
+# include <bits/user.h>
 # define GU_WORDSIZE __WORDSIZE
 #endif