]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD/MINOR: haproxy : FreeBSD/cpu affinity needs pthread_np header
authorDavid Carlier <devnexen@gmail.com>
Wed, 29 Nov 2017 11:02:32 +0000 (11:02 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 29 Nov 2017 13:30:38 +0000 (14:30 +0100)
for pthread_*_np calls, pthread_np.h is needed under FreeBSD.

src/haproxy.c

index 891a021d945c052be3fc05550b95833f8fb16f4b..a1fe550e1c9e6e22b11f6e05945ba99caccbc118 100644 (file)
@@ -55,6 +55,7 @@
 #ifdef __FreeBSD__
 #include <sys/param.h>
 #include <sys/cpuset.h>
+#include <pthread_np.h>
 #endif
 #endif