aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-09-25 20:25:38 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-09-25 20:25:38 -0700
commitf75ea0e4774fcb0f5dba220185ac70fadce1d51c (patch)
tree034c98fae16c8ec6d6d89ee0260525abc1bbd95b /system/include/libc
parente965f257ccbab66f445a5157fdb538d99e8732dd (diff)
header fixes
Diffstat (limited to 'system/include/libc')
-rw-r--r--system/include/libc/sys/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/libc/sys/unistd.h b/system/include/libc/sys/unistd.h
index 952568a9..a285d8d1 100644
--- a/system/include/libc/sys/unistd.h
+++ b/system/include/libc/sys/unistd.h
@@ -216,7 +216,7 @@ _READ_WRITE_RETURN_TYPE _EXFUN(_write, (int __fd, const void *__buf, size_t __nb
int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const __envp[] ));
#endif
-#if defined(__CYGWIN__) || defined(__rtems__) || defined(__sh__) || defined(__SPU__)
+#if defined(__CYGWIN__) || defined(__rtems__) || defined(__sh__) || defined(__SPU__) || defined(EMSCRIPTEN)
#if !defined(__INSIDE_CYGWIN__)
int _EXFUN(ftruncate, (int __fd, off_t __length));
int _EXFUN(truncate, (const char *, off_t __length));