Fix #213: sockaddr_in is undefined when compiling on FreeBSD

Make sure that <netinet/in.h> is included as per POSIX spec.
pull/214/head
Pavel Minaev 8 years ago
parent 4b8c8c5f6f
commit 88a32a152f

@ -79,6 +79,7 @@ extern "C" {
#include <netdb.h>
#include <stdint.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <unistd.h>
#endif

Loading…
Cancel
Save