Hi Gerald,
On 02/15/15 17:16, Gerald Pfeifer wrote:
After commit 5436fef80722fe7896aed5e659c31fdade4ef5b3
Author: Jacek Caban jacek@codeweavers.com Date: Fri Feb 13 12:12:29 2015 +0100
wininet: Always use winsock sockets.
FreeBSD not longer builds due to the following change:
#include "config.h" -#include "wine/port.h"
-#if defined(__MINGW32__) || defined (_MSC_VER) -#include <ws2tcpip.h> +#ifdef HAVE_ZLIB +# define Z_SOLO +# include <zlib.h> #endif
zlib.h on FreeBSD 10.x uses off_t, but at this point this is not defined yet. Including unistd.h before including zlib.h addresses this.
I'd expect zlib.h to handle its dependences, it's probably Z_SOLO that's doesn't work on FreeBSD. Could you try my recent wininet patches? They should fix the build.
Thanks, Jacek