squid: fix musl compatibility 1469/head
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 25 Jun 2015 14:42:52 +0000 (16:42 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 25 Jun 2015 14:44:11 +0000 (16:44 +0200)
commit768f1a42ae47d526fc5a53c3ad7e779584e4cde9
tree7bb577c5a2fc2c4fdc4d4ad5b969ab3fc34931a1
parent3788dd697b642c09eb6fb868e07b045453ab60d1
squid: fix musl compatibility

Change `sys/signal.h` include to just `signal.h`. The build otherwise fails
due to `-Werror` with the following message:

    In file included from rfcnb-io.c:43:0:
    .../staging_dir/toolchain-mipsel_mips32_gcc-4.8-linaro_musl-1.1.10/include/sys/signal.h:1:2: error: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Werror=cpp]
     #warning redirecting incorrect #include <sys/signal.h> to <signal.h>
      ^
    cc1: all warnings being treated as errors

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
net/squid/Makefile
net/squid/patches/200-musl-compat.patch [new file with mode: 0644]