Ex Ex lists at
Mon Mar 30 21:55:03 MSD 2009

Igor Sysoev wrote:
> On Mon, Mar 30, 2009 at 03:43:19PM +0400, Maxim Dounin wrote:
>> make -f objs/Makefile
>> in a function)
>>  #include <glob.h>
>> +#include <sys/param.h>
>>  #include <sys/mount.h>          /* statfs() */
>> +#include <sys/statvfs.h>
>>  #include <sys/filio.h>          /* FIONBIO */
>>  #include <sys/uio.h>
> The patch attached. The <sys/statvfs.h> is not needed on FreeBSD.

After patching:

make -f objs/Makefile
gcc -c -O -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter 
-Wno-unused-function -Wunused-variable -Wunused-value -Werror -g -I 
src/core  -I src/event  -I src/event/modules  -I src/os/unix  -I ../pcre 
-I objs  -o objs/src/os/unix/ngx_files.o  src/os/unix/ngx_files.c
src/os/unix/ngx_files.c: In function `ngx_fs_bsize':
src/os/unix/ngx_files.c:444: error: storage size of 'fs' isn't known
src/os/unix/ngx_files.c:446: warning: implicit declaration of function 
src/os/unix/ngx_files.c:444: warning: unused variable `fs'
*** Error code 1
Posted via

More information about the nginx mailing list