From: David Carlier Date: Mon, 12 Nov 2018 16:22:19 +0000 (+0000) Subject: BUILD/MEDIUM: threads/affinity: DragonFly build fix X-Git-Tag: v1.9-dev7~132 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=42d9e5ae686976ed15a3e6fd34c8795116f796ac;p=thirdparty%2Fhaproxy.git BUILD/MEDIUM: threads/affinity: DragonFly build fix DragonFlyBSD does not have a build on its own, it has always used the FreeBSD's. To be able to support the cpu affinity, it needs few more headers. --- diff --git a/src/haproxy.c b/src/haproxy.c index 1d2971d4b4..c71482224f 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -52,9 +52,11 @@ #include #ifdef USE_CPU_AFFINITY #include -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__DragonFly__) #include +#ifdef __FreeBSD__ #include +#endif #include #endif #endif