3
0
Fork 0

Fix #213: sockaddr_in is undefined when compiling on FreeBSD

Make sure that <netinet/in.h> is included as per POSIX spec.
fix-bug-pid
Pavel Minaev 7 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