Fix Build BSD

This fixes build under BSD. Tested with OpenBSD-6.4 and FreeBSD-11.3.
This commit is contained in:
Jose Santiago 2021-04-15 14:04:27 -05:00
parent 3070a4b246
commit 7d8b149681

View File

@ -42,6 +42,8 @@
#if defined _WIN32
#include "../src/windows.hpp"
#else
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <stdlib.h>