socks: fix build on FreeBSD

The fix should be sane on all UNIX-like systems, so there's
no ZMQ_HAVE_FREEBSD involved.  It's likely that other BSDs
stumble across this problem too.
This commit is contained in:
Franco Fichtner 2014-06-27 20:15:08 +02:00
parent 7e8dd46631
commit f1207e6af1

View File

@ -26,6 +26,7 @@
#ifndef ZMQ_HAVE_WINDOWS
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#endif