aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/sys/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libc/sys/resource.h')
-rw-r--r--system/include/libc/sys/resource.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/include/libc/sys/resource.h b/system/include/libc/sys/resource.h
index abcfd34d..1e451e0d 100644
--- a/system/include/libc/sys/resource.h
+++ b/system/include/libc/sys/resource.h
@@ -3,6 +3,10 @@
#include <sys/time.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define RUSAGE_SELF 0 /* calling process */
#define RUSAGE_CHILDREN -1 /* terminated child processes */
@@ -47,5 +51,9 @@ struct rlimit {
int getrlimit(int resource, struct rlimit *rlim);
int setrlimit(int resource, const struct rlimit *rlim);
+#ifdef __cplusplus
+}
+#endif
+
#endif