aboutsummaryrefslogtreecommitdiffstats
path: root/community/tint2/musl-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/tint2/musl-fixes.patch')
-rw-r--r--community/tint2/musl-fixes.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/tint2/musl-fixes.patch b/community/tint2/musl-fixes.patch
new file mode 100644
index 0000000000..6d1aeee7b4
--- /dev/null
+++ b/community/tint2/musl-fixes.patch
@@ -0,0 +1,16 @@
+--- src/util/common.c.orig 2016-01-29 08:21:02.000701749 +0100
++++ src/util/common.c 2016-01-29 08:21:49.545577920 +0100
+@@ -38,9 +38,12 @@
+ #include <sys/time.h>
+ #include <sys/resource.h>
+ #include <errno.h>
+-#include <sys/sysctl.h>
+ #include <dirent.h>
+
++#if !defined(__linux__) || defined(__linux__) && defined(__GLIBC__)
++#include <sys/sysctl.h>
++#endif
++
+ #ifdef HAVE_RSVG
+ #include <librsvg/rsvg.h>
+ #endif