diff --git a/fdelmodc/threadAffinity.c b/fdelmodc/threadAffinity.c index bd9913ca40cb9d42b3151b53b62810fa1cbabf50..0fcee39c331948fa03d1754f623b03c2d77641a9 100644 --- a/fdelmodc/threadAffinity.c +++ b/fdelmodc/threadAffinity.c @@ -10,6 +10,9 @@ #include <sched.h> #include <sys/types.h> #include <sys/sysctl.h> +#ifdef _OPENMP +#include <omp.h> +#endif #define CPU_SETSIZE 1024 #define SYSCTL_CORE_COUNT "machdep.cpu.core_count"