aboutsummaryrefslogtreecommitdiff
path: root/system/include/compat/stdlib.h
diff options
context:
space:
mode:
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