commit | 6d5c841d242a22573d1a66434df9e1e936e7bed6 | [log] [tgz] |
---|---|---|
author | David Carlier <devnexen@gmail.com> | Wed Nov 29 11:02:32 2017 +0000 |
committer | Willy Tarreau <w@1wt.eu> | Wed Nov 29 14:30:38 2017 +0100 |
tree | fd98d85496bd930230d379e1dff288a4b4a49e71 | |
parent | 5bcfd56519b683386643c800558714893fd33910 [diff] |
BUILD/MINOR: haproxy : FreeBSD/cpu affinity needs pthread_np header for pthread_*_np calls, pthread_np.h is needed under FreeBSD.
diff --git a/src/haproxy.c b/src/haproxy.c index 891a021..a1fe550 100644 --- a/src/haproxy.c +++ b/src/haproxy.c
@@ -55,6 +55,7 @@ #ifdef __FreeBSD__ #include <sys/param.h> #include <sys/cpuset.h> +#include <pthread_np.h> #endif #endif