aboutsummaryrefslogtreecommitdiffstats
path: root/testing/i3status/musl-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/i3status/musl-fix.patch')
-rw-r--r--testing/i3status/musl-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/i3status/musl-fix.patch b/testing/i3status/musl-fix.patch
new file mode 100644
index 0000000000..b873fc9bed
--- /dev/null
+++ b/testing/i3status/musl-fix.patch
@@ -0,0 +1,13 @@
+--- a/include/i3status.h.orig
++++ b/include/i3status.h
+@@ -11,6 +11,10 @@
+ #include <unistd.h>
+ #include <string.h>
+
++#ifndef GLOB_TILDE
++#define GLOB_TILDE 0
++#endif
++
+ #define BEGINS_WITH(haystack, needle) (strncmp(haystack, needle, strlen(needle)) == 0)
+ #define max(a, b) ((a) > (b) ? (a) : (b))
+