diff options
Diffstat (limited to 'community/galera/musl-wordsize.patch')
-rw-r--r-- | community/galera/musl-wordsize.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/community/galera/musl-wordsize.patch b/community/galera/musl-wordsize.patch new file mode 100644 index 00000000000..525f5329b5d --- /dev/null +++ b/community/galera/musl-wordsize.patch @@ -0,0 +1,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 + |