summaryrefslogtreecommitdiff
path: root/ext/posix/php_posix.h
diff options
context:
space:
mode:
authorMagnus Määttä <magnus@php.net>2015-07-08 22:12:07 +0200
committerMagnus Määttä <magnus@php.net>2015-07-08 22:12:07 +0200
commit963d906aff71325f0e3d3620318601c0fb5962c1 (patch)
tree408beb24ca2834f561f237a016e5612b23cd3435 /ext/posix/php_posix.h
parent301ee26568af14bafa3938768ac00962bcf2ee66 (diff)
downloadphp-git-963d906aff71325f0e3d3620318601c0fb5962c1.tar.gz
Add posix_setrlimit() FR #54603
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