mirror of
https://github.com/nginx/nginx.git
synced 2024-11-21 16:28:40 +00:00
fix FreeBSD before 7 building, broken in r2616
This commit is contained in:
parent
0370ff015e
commit
723f71ddfe
@ -6,6 +6,7 @@ ngx_include="unistd.h"; . auto/include
|
||||
ngx_include="inttypes.h"; . auto/include
|
||||
ngx_include="limits.h"; . auto/include
|
||||
ngx_include="sys/filio.h"; . auto/include
|
||||
ngx_include="sys/param.h"; . auto/include
|
||||
ngx_include="sys/mount.h"; . auto/include
|
||||
ngx_include="sys/statvfs.h"; . auto/include
|
||||
ngx_include="crypt.h"; . auto/include
|
||||
|
@ -16,6 +16,7 @@ ngx_found=no
|
||||
|
||||
cat << END > $NGX_AUTOTEST.c
|
||||
|
||||
$NGX_INCLUDE_SYS_PARAM_H
|
||||
#include <$ngx_include>
|
||||
|
||||
int main() {
|
||||
|
@ -210,7 +210,8 @@ ngx_feature_test="directio(0, DIRECTIO_ON);"
|
||||
ngx_feature="statfs()"
|
||||
ngx_feature_name="NGX_HAVE_STATFS"
|
||||
ngx_feature_run=no
|
||||
ngx_feature_incs="$NGX_INCLUDE_SYS_MOUNT_H
|
||||
ngx_feature_incs="$NGX_INCLUDE_SYS_PARAM_H
|
||||
$NGX_INCLUDE_SYS_MOUNT_H
|
||||
$NGX_INCLUDE_SYS_VFS_H"
|
||||
ngx_feature_path=
|
||||
ngx_feature_libs=
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include <grp.h>
|
||||
#include <dirent.h>
|
||||
#include <glob.h>
|
||||
#include <sys/param.h> /* ALIGN() */
|
||||
#include <sys/mount.h> /* statfs() */
|
||||
|
||||
#include <sys/filio.h> /* FIONBIO */
|
||||
@ -44,7 +45,6 @@
|
||||
#include <libutil.h> /* setproctitle() before 4.1 */
|
||||
#include <osreldate.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/param.h> /* ALIGN() */
|
||||
|
||||
|
||||
#if __FreeBSD_version < 400017
|
||||
|
Loading…
Reference in New Issue
Block a user