Index: native_client_sdk/src/libraries/nacl_io/kernel_handle.cc |
diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_handle.cc b/native_client_sdk/src/libraries/nacl_io/kernel_handle.cc |
index a943894595e1904e393ffe0e4162480c459272bb..74bee816ead88dba3f570d46c507e878b8463d3a 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/kernel_handle.cc |
+++ b/native_client_sdk/src/libraries/nacl_io/kernel_handle.cc |
@@ -8,13 +8,9 @@ |
#include <fcntl.h> |
#include <pthread.h> |
-#ifndef WIN32 |
-// Needed for SEEK_SET/SEEK_CUR/SEEK_END. |
-#include <unistd.h> |
-#endif |
- |
#include "nacl_io/mount.h" |
#include "nacl_io/mount_node.h" |
+#include "nacl_io/osunistd.h" |
// It is only legal to construct a handle while the kernel lock is held. |
KernelHandle::KernelHandle(Mount* mnt, MountNode* node) |