Klaus Demo nginx / 723f71d
fix FreeBSD before 7 building, broken in r2616 Igor Sysoev 13 years ago
4 changed file(s) with 5 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
55 ngx_include="inttypes.h"; . auto/include
66 ngx_include="limits.h"; . auto/include
77 ngx_include="sys/filio.h"; . auto/include
8 ngx_include="sys/param.h"; . auto/include
89 ngx_include="sys/mount.h"; . auto/include
910 ngx_include="sys/statvfs.h"; . auto/include
1011 ngx_include="crypt.h"; . auto/include
1515
1616 cat << END > $NGX_AUTOTEST.c
1717
18 $NGX_INCLUDE_SYS_PARAM_H
1819 #include <$ngx_include>
1920
2021 int main() {
209209 ngx_feature="statfs()"
210210 ngx_feature_name="NGX_HAVE_STATFS"
211211 ngx_feature_run=no
212 ngx_feature_incs="$NGX_INCLUDE_SYS_MOUNT_H
212 ngx_feature_incs="$NGX_INCLUDE_SYS_PARAM_H
213 $NGX_INCLUDE_SYS_MOUNT_H
213214 $NGX_INCLUDE_SYS_VFS_H"
214215 ngx_feature_path=
215216 ngx_feature_libs=
2121 #include <grp.h>
2222 #include <dirent.h>
2323 #include <glob.h>
24 #include <sys/param.h> /* ALIGN() */
2425 #include <sys/mount.h> /* statfs() */
2526
2627 #include <sys/filio.h> /* FIONBIO */
4344 #include <libutil.h> /* setproctitle() before 4.1 */
4445 #include <osreldate.h>
4546 #include <sys/sysctl.h>
46 #include <sys/param.h> /* ALIGN() */
4747
4848
4949 #if __FreeBSD_version < 400017