zabbix: fix musl compatibility
authorJo-Philipp Wich <redacted>
Wed, 17 Jun 2015 17:09:55 +0000 (19:09 +0200)
committerJo-Philipp Wich <redacted>
Wed, 17 Jun 2015 17:13:44 +0000 (19:13 +0200)
commitc3f0347649f81553dc420ab56e3bfc06d45a92af
treea37e361c50afabcbdae47da94dc9b0bbb0d6acaf
parent4116e327afee80aaea33a16358f5f7c0da687bec
zabbix: fix musl compatibility

Under musl a compilation unit cannot include both linux/kernel.h
and sys/sysinfo.h at the same time since that leads to a redefinition
of `struct sysinfo`.

Change the autoconf template to include linux/kernel.h while testing
for sys/sysinfo.h to test for that conflict.

Signed-off-by: Jo-Philipp Wich <redacted>
admin/zabbix/Makefile
admin/zabbix/patches/100-musl-compat.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT