aports/community/galera/musl-wordsize.patch
Jake Buchholz Göktürk 8407fe8b03 community/galera: moved from testing
galera version is up-to-date, and is building on all supported archs.
2022-11-25 19:36:23 +00:00

15 lines
362 B
Diff

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