aboutsummaryrefslogtreecommitdiff
path: root/system/include
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-07 21:00:52 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-10-07 21:00:52 -0700
commita298565cfe0196b06c65c2061506f810064c7419 (patch)
treeb57789883f50c3f6298ad664cc0e2d40c7abf2dc /system/include
parent592b631c192602869696f072878866d8f89a2316 (diff)
fix fcntl_misc
Diffstat (limited to 'system/include')
-rw-r--r--system/include/libc/sys/_default_fcntl.h5
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