summaryrefslogtreecommitdiffstats
path: root/main/zabbix/musl-fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-18 08:33:37 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-18 08:33:37 +0000
commit3bd2948bb4572f820879611aa56eec68fed62ef2 (patch)
treef252443bfb4974f82f5dcde2ca31b14b22c816f6 /main/zabbix/musl-fix-includes.patch
parent16b39aa71978f356d98e0b9a70a38f457a6bc40f (diff)
downloadaports-3bd2948bb4572f820879611aa56eec68fed62ef2.tar.bz2
aports-3bd2948bb4572f820879611aa56eec68fed62ef2.tar.xz
main/zabbix: fix musl build
Diffstat (limited to 'main/zabbix/musl-fix-includes.patch')
-rw-r--r--main/zabbix/musl-fix-includes.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/zabbix/musl-fix-includes.patch b/main/zabbix/musl-fix-includes.patch
new file mode 100644
index 000000000..c36759dcd
--- /dev/null
+++ b/main/zabbix/musl-fix-includes.patch
@@ -0,0 +1,13 @@
+--- zabbix-2.2.1.orig/include/sysinc.h
++++ zabbix-2.2.1/include/sysinc.h
+@@ -126,10 +126,6 @@
+ # include <sys/times.h>
+ #endif
+
+-#ifdef HAVE_LINUX_KERNEL_H
+-# include <linux/kernel.h>
+-#endif
+-
+ #ifdef HAVE_ARPA_NAMESER_H
+ #ifdef MAC_OS_X
+ # define BIND_8_COMPAT 1