Explorar o código

Fix windows build

Samuel Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
b5587c6b93
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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