diff --git a/server/thread.c b/server/thread.c index 55eb8513af8..071c91988b6 100644 --- a/server/thread.c +++ b/server/thread.c @@ -33,6 +33,8 @@ #include #include #ifdef HAVE_SCHED_H +/* FreeBSD needs this for cpu_set_t intead of its cpuset_t */ +#define _WITH_CPU_SET_T #include #endif