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, 31 Mar 2020 14:52:57 +0000 (16:52 +0200)
commitc32c7e3b39711c329b759a5767276b543913621a
treed58959e469d2497faff7d9904a8b60f56756e6bd
parent41cca45e35ae541d4dfa3aba38ee30b784001d13
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.

(cherry picked from commit 0627815f701ee6549bcf4c2611df8ccdd3bd3fc9)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/wdt.c