summaryrefslogtreecommitdiff
path: root/ext/posix/php_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix/php_posix.h')
-rw-r--r--ext/posix/php_posix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/posix/php_posix.h b/ext/posix/php_posix.h
index ced4afe2c6..2132c7e7ca 100644
--- a/ext/posix/php_posix.h
+++ b/ext/posix/php_posix.h
@@ -113,6 +113,10 @@ PHP_FUNCTION(posix_getpwuid);
PHP_FUNCTION(posix_getrlimit);
#endif
+#ifdef HAVE_SETRLIMIT
+PHP_FUNCTION(posix_setrlimit);
+#endif
+
#ifdef HAVE_INITGROUPS
PHP_FUNCTION(posix_initgroups);
#endif