use HAVE_SYS_PRCTL_H as HAVE_PRCTL is not checked for

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1958 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.17
Jan Kneschke 16 years ago
parent ef19bacae8
commit 1e1a8e5907

@ -22,6 +22,7 @@ NEWS
* fixed extra Content-Length header on 1xx, 204 and 304 (#1002)
* fixed handling of duplicate If-Modified-Since to return 304
* fixed extracting status code from NPH scripts (#1125)
* fixed prctl() usage (#1310)
* removed config-check if passwd files exist (#1188)

@ -775,7 +775,7 @@ int main (int argc, char **argv) {
setuid(pwd->pw_uid);
}
#endif
#ifdef HAVE_PRCTL
#ifdef HAVE_SYS_PRCTL_H
if (srv->srvconf.enable_cores) {
prctl(PR_SET_DUMPABLE, 1, 0, 0, 0);
}

Loading…
Cancel
Save