aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/genconfig.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh
index c16974d7..e8df5965 100755
--- a/scripts/genconfig.sh
+++ b/scripts/genconfig.sh
@@ -98,9 +98,11 @@ EOF
echo -e '\tdepends on !TOYBOX_MUSL_NOMMU_IS_BROKEN'
probesymbol TOYBOX_PRLIMIT << EOF
+ #include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
-
+ int prlimit(pid_t pid, int resource, const struct rlimit *new_limit,
+ struct rlimit *old_limit);
int main(int argc, char *argv[]) { prlimit(0, 0, 0, 0); }
EOF
}