소스 검색

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

Samuel Thibault 13 년 전
부모
커밋
7d278ca9a5
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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>