From: RvdE Date: Fri, 1 Sep 2017 07:38:41 +0000 (+0200) Subject: Hopefully fix compilation error on linux X-Git-Tag: rec-4.1.0-rc1~52^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5662%2Fhead;p=thirdparty%2Fpdns.git Hopefully fix compilation error on linux --- diff --git a/pdns/misc.cc b/pdns/misc.cc index 73c54c6a84..4643450695 100644 --- a/pdns/misc.cc +++ b/pdns/misc.cc @@ -1325,7 +1325,7 @@ bool isSettingThreadCPUAffinitySupported() int mapThreadToCPUList(pthread_t tid, const std::set& cpus) { #ifdef HAVE_PTHREAD_SETAFFINITY_NP -# ifndef cpu_set_t +# ifdef __FreeBSD__ # define cpu_set_t cpuset_t # endif cpu_set_t cpuset;