aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-02 16:25:15 +0200
committerAlon Zakai <alonzakai@gmail.com>2011-10-02 16:25:15 +0200
commit1b17d7ef860b127d3a2bd6862f1684990d510d2c (patch)
treed465206c667751dfe82a9d52acc955e7ac4f504d /system/include/libc
parentc419492d856348a16b08003a094c82caad4433b8 (diff)
fix getloadavg
Diffstat (limited to 'system/include/libc')
-rw-r--r--system/include/libc/stdlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/include/libc/stdlib.h b/system/include/libc/stdlib.h
index 1019af0f..dd02e6d5 100644
--- a/system/include/libc/stdlib.h
+++ b/system/include/libc/stdlib.h
@@ -221,6 +221,8 @@ extern long double strtold (const char *, char **);
extern long double wcstold (const wchar_t *, wchar_t **);
#endif /* _LDBL_EQ_DBL */
+int getloadavg(double loadavg[], int nelem); /* XXX Emscripten */
+
_END_STD_C
#endif /* _STDLIB_H_ */