aboutsummaryrefslogtreecommitdiff
path: root/system/include/compat/stdlib.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-17 12:54:49 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-17 12:54:49 -0700
commit2dc7b87600df12ff7cf6cabe42cd4c9d251d44de (patch)
treeb358d2470b4588d084f986953c1a5962c92b8d2f /system/include/compat/stdlib.h
parentbff2b8740aba888bd67ee93198abc8fa0e116b80 (diff)
parent10d1cb9f3e515778e7841b61df4c6ad94c3d8352 (diff)
Merge pull request #1529 from waywardmonkeys/compat-headers
Compat headers
Diffstat (limited to 'system/include/compat/stdlib.h')
-rw-r--r--system/include/compat/stdlib.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/include/compat/stdlib.h b/system/include/compat/stdlib.h
new file mode 100644
index 00000000..dc01947d
--- /dev/null
+++ b/system/include/compat/stdlib.h
@@ -0,0 +1,16 @@
+#ifndef _COMPAT_STDLIB_H
+#define _COMPAT_STDLIB_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int getloadavg(double loadavg[], int nelem);
+
+#ifdef __cplusplus
+}
+#endif
+
+#include_next <stdlib.h>
+
+#endif