Add headers required on FreeBSD.

This commit is contained in:
Bartosz Taudul 2023-05-23 23:48:48 +02:00
parent c00d8c6211
commit 2759f96c0e
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -1,6 +1,9 @@
#ifdef _WIN32
# include <ws2tcpip.h>
#else
# ifdef __FreeBSD__
# include <netinet/in.h>
# endif
# include <arpa/inet.h>
# include <sys/socket.h>
# include <netdb.h>