| Index: native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h b/native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h
|
| index f46f6cc5479b0c2da973c084e137601acae03bab..68e3345f37805746d696747ad3d44306e5feac9c 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h
|
| @@ -11,15 +11,16 @@
|
|
|
| EXTERN_C_BEGIN
|
|
|
| +/* NOTE: We do not use off_t because it may be 32 or 64 bit */
|
| int _real_close(int fd);
|
| void _real_exit(int status);
|
| int _real_fstat(int fd, struct stat *buf);
|
| int _real_getdents(int fd, void* nacl_buf, size_t nacl_count, size_t *nread);
|
| int _real_isatty(int fd, int* result);
|
| -int _real_lseek(int fd, off_t offset, int whence, off_t* new_offset);
|
| +int _real_lseek(int fd, int64_t offset, int whence, int64_t* new_offset);
|
| int _real_mkdir(const char* pathname, mode_t mode);
|
| int _real_mmap(void** addr, size_t length, int prot, int flags, int fd,
|
| - off_t offset);
|
| + int64_t offset);
|
| int _real_munmap(void* addr, size_t length);
|
| int _real_open(const char* pathname, int oflag, mode_t cmode, int* newfd);
|
| int _real_open_resource(const char* file, int* fd);
|
|
|