diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-07 21:00:52 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-07 21:00:52 -0700 |
commit | a298565cfe0196b06c65c2061506f810064c7419 (patch) | |
tree | b57789883f50c3f6298ad664cc0e2d40c7abf2dc /system/include/libc | |
parent | 592b631c192602869696f072878866d8f89a2316 (diff) |
fix fcntl_misc
Diffstat (limited to 'system/include/libc')
-rw-r--r-- | system/include/libc/sys/_default_fcntl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/include/libc/sys/_default_fcntl.h b/system/include/libc/sys/_default_fcntl.h index d44a858e..0bc4fcfa 100644 --- a/system/include/libc/sys/_default_fcntl.h +++ b/system/include/libc/sys/_default_fcntl.h @@ -204,6 +204,11 @@ extern int _open64 _PARAMS ((const char *, int, ...)); #endif #endif +/* XXX Emscripten */ +#define POSIX_FADV_DONTNEED 135 +int posix_fadvise(int fd, off_t offset, off_t len, int advice); +int posix_fallocate(int fd, off_t offset, off_t len); + #ifdef __cplusplus } #endif |