void-packages/srcpkgs/i3status/patches/musl-fix.patch
2015-05-13 08:20:44 +02:00

13 lines
299 B
Diff

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