fix tests on FreeBSD

238b761 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.
This commit is contained in:
Fraser Tweedale 2013-08-24 17:39:15 +10:00
parent 6890e00c0e
commit 9d85f00722

View File

@ -1,5 +1,7 @@
#ifndef _WIN32
# include <arpa/inet.h>
# include <sys/socket.h>
# include <netinet/in.h>
#else
# include <ws2tcpip.h>
# ifdef _MSC_VER