Browse Source

sched.h is only needed for CPU_* interface, only used on glibc. Fixes some mingw versions build

Samuel Thibault 13 years ago
parent
commit
7d278ca9a5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/core/combined_workers.c

+ 2 - 0
src/core/combined_workers.c

@@ -21,7 +21,9 @@
 #include <common/config.h>
 #include <core/workers.h>
 
+#ifdef __GLIBC__
 #include <sched.h>
+#endif
 
 #ifdef __MINGW32__
 #include <windows.h>