1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/testing/galera/musl-wordsize.patch
Jake Buchholz 13b8c9984e testing/galera: new aport
* galera = wsrep provider for mariadb
* galera-arbitrator = arbitrator daemon to provide quorum for clusters with even numbers of databases
2020-01-31 21:38:38 +01:00

14 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