]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix signal.h usage to resolve compiler warning
authorAlex Dowad <alexinbeijing@gmail.com>
Fri, 22 May 2015 04:33:41 +0000 (21:33 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 22 May 2015 04:33:41 +0000 (21:33 -0700)
commit26d8e5961fbd2ae1e45dfc8dfe2d2339584a7948
treefda0ad99562f41c43579f886e41c6d5205557310
parent586074debb65deffb9f2b278e559f896bb137b73
Fix signal.h usage to resolve compiler warning

When included, musl libc's sys/signal.h issues a compiler warning
stating that signal.h should be used directly instead. If gcc is
treating all warnings as errors, this breaks the build.

glibc's sys/signal.h does not contain any definitions; all it does
is include signal.h (indirectly). So directly including signal.h
doesn't break anything with glibc.
lib/rfcnb/rfcnb-io.c