BSD needs netinet/in.h for struct sockaddr_in and friends.

This commit is contained in:
Bartosz Taudul 2019-11-21 01:27:27 +01:00
parent 31b6ff4bae
commit a9cd5b331f

View File

@ -22,6 +22,7 @@
#else #else
# include <arpa/inet.h> # include <arpa/inet.h>
# include <sys/socket.h> # include <sys/socket.h>
# include <netinet/in.h>
# include <netdb.h> # include <netdb.h>
# include <unistd.h> # include <unistd.h>
# include <poll.h> # include <poll.h>