소스 검색

Fix windows build

Samuel Thibault 8 년 전
부모
커밋
b5587c6b93
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/core/disk_ops/unistd/disk_unistd_global.h

+ 2 - 0
src/core/disk_ops/unistd/disk_unistd_global.h

@@ -18,7 +18,9 @@
 #define __DISK_UNISTD_GLOBAL_H__
 
 #include <fcntl.h>
+#ifdef __linux
 #include <sys/syscall.h>
+#endif
 
 #ifndef O_BINARY
 #define O_BINARY 0