void-packages/srcpkgs/i3status/patches/musl-fix.patch

14 lines
299 B
Diff
Raw Normal View History

--- include/i3status.h.orig
+++ 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))