[uWSGI] [ANNOUNCE] uWSGI 1.9.18

Roberto De Ioris roberto at unbit.it
Fri Oct 11 13:33:04 CEST 2013


> FreeBSD does not have sendfile.h:
>
> uwsgi.h:
> -------
> #ifdef __linux__
> #include <sys/sendfile.h>
> #include <sys/epoll.h>
> #elif defined(__FreeBSD_kernel__)
> #include <sys/sendfile.h>
> #include <sys/event.h>
> #elif defined(__sun__)
> ---------
>
> From sendfile(2):
>
> SYNOPSIS
>      #include <sys/types.h>
>      #include <sys/socket.h>
>      #include <sys/uio.h>
>
>
> Now 1.9.18 does not build under FreeBSD:
>
> /usr/local/bin/python2.7 uwsgiconfig.py --build
> In file included from core/protocol.c:1:
> In file included from core/utils.c:1:
> ./uwsgi.h:314:10: fatal error: 'sys/sendfile.h' file not found
> #include <sys/sendfile.h>
>          ^
> ./uwsgi.h:314:10: fatal error: 'sys/sendfile.h' file not found
> #include <sys/sendfile.h>
>          ^
> 1 error generated.
>
>

which FreeBSD version ? i have tried both 8 and 9 without problems


-- 
Roberto De Ioris
http://unbit.it


More information about the uWSGI mailing list