fix FreeBSD before 7 building, broken in r2616
Igor Sysoev
13 years ago
5 | 5 |
ngx_include="inttypes.h"; . auto/include
|
6 | 6 |
ngx_include="limits.h"; . auto/include
|
7 | 7 |
ngx_include="sys/filio.h"; . auto/include
|
|
8 |
ngx_include="sys/param.h"; . auto/include
|
8 | 9 |
ngx_include="sys/mount.h"; . auto/include
|
9 | 10 |
ngx_include="sys/statvfs.h"; . auto/include
|
10 | 11 |
ngx_include="crypt.h"; . auto/include
|
209 | 209 |
ngx_feature="statfs()"
|
210 | 210 |
ngx_feature_name="NGX_HAVE_STATFS"
|
211 | 211 |
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
|
213 | 214 |
$NGX_INCLUDE_SYS_VFS_H"
|
214 | 215 |
ngx_feature_path=
|
215 | 216 |
ngx_feature_libs=
|
21 | 21 |
#include <grp.h>
|
22 | 22 |
#include <dirent.h>
|
23 | 23 |
#include <glob.h>
|
|
24 |
#include <sys/param.h> /* ALIGN() */
|
24 | 25 |
#include <sys/mount.h> /* statfs() */
|
25 | 26 |
|
26 | 27 |
#include <sys/filio.h> /* FIONBIO */
|
|
43 | 44 |
#include <libutil.h> /* setproctitle() before 4.1 */
|
44 | 45 |
#include <osreldate.h>
|
45 | 46 |
#include <sys/sysctl.h>
|
46 | |
#include <sys/param.h> /* ALIGN() */
|
47 | 47 |
|
48 | 48 |
|
49 | 49 |
#if __FreeBSD_version < 400017
|