diff options
-rw-r--r-- | Libraries/LibC/ulimit.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Libraries/LibC/ulimit.cpp b/Libraries/LibC/ulimit.cpp index d63b1c761f..26602c89c6 100644 --- a/Libraries/LibC/ulimit.cpp +++ b/Libraries/LibC/ulimit.cpp @@ -26,6 +26,7 @@ #include <assert.h> #include <ulimit.h> +#include <sys/resource.h> extern "C" { @@ -36,4 +37,13 @@ long ulimit(int cmd, long newlimit) ASSERT_NOT_REACHED(); return -1; } + +int getrusage(int who, struct rusage *usage) +{ + (void)who; + (void)usage; + ASSERT_NOT_REACHED(); + return -1; +} + } |