Commit 9d85f007 by Fraser Tweedale

fix tests on FreeBSD

238b7614 introduced a test for posix behaviour, but on FreeBSD some
of the structs and constants used aren't defined in <arpa/inet.h>.
Include the appropriate headers to get the tests working again on
FreeBSD.
parent 6890e00c
#ifndef _WIN32 #ifndef _WIN32
# include <arpa/inet.h> # include <arpa/inet.h>
# include <sys/socket.h>
# include <netinet/in.h>
#else #else
# include <ws2tcpip.h> # include <ws2tcpip.h>
# ifdef _MSC_VER # ifdef _MSC_VER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment