]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: checks: external checker needs signal.h
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Jul 2014 22:54:10 +0000 (00:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 7 Jul 2014 23:13:33 +0000 (01:13 +0200)
check.c doesn't build on solaris since 98637e5 ("MEDIUM: Add external check")
because sigset_t is unknown. Simply include signal.h to fix the issue.

No need to backport, this is 1.6-only.

src/checks.c

index 59d9514b22ff1eecba2e736ddcc8d179adc63f01..0571c58ef0ded1207248e72165e99883a4e1a311 100644 (file)
@@ -15,6 +15,7 @@
 #include <ctype.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>