BUILD: wdt: only test for SI_TKILL when compiled with thread support
authorWilly Tarreau <w@1wt.eu>
Tue, 10 Mar 2020 08:26:17 +0000 (09:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 10 Mar 2020 08:26:17 +0000 (09:26 +0100)
commit0627815f701ee6549bcf4c2611df8ccdd3bd3fc9
tree0669a4653b6f2d3b4befebaee4b50fc56725ff9c
parent62af9c83f9ed2b25e0061798e29e3cccfce5fbdc
BUILD: wdt: only test for SI_TKILL when compiled with thread support

SI_TKILL is not necessarily defined on older systems and is used only
with the pthread_kill() call a few lines below, so it should also be
subject to the USE_THREAD condition.
src/wdt.c