diff --git a/libc-bottom-half/headers/public/__header_sys_resource.h b/libc-bottom-half/headers/public/__header_sys_resource.h index a77539c..bae9d5a 100644 --- a/libc-bottom-half/headers/public/__header_sys_resource.h +++ b/libc-bottom-half/headers/public/__header_sys_resource.h @@ -6,4 +6,14 @@ #define RUSAGE_SELF 1 #define RUSAGE_CHILDREN 2 +#ifdef __cplusplus +extern "C" { +#endif + +int getrusage(int who, struct rusage *usage); + +#ifdef __cplusplus +} +#endif + #endif