networkTools: Fix compilation on FreeBSD

Header <netinet/in.h> should be included (as per POSIX) to get a definition for
'struct sockaddr_in'.  Fixes commit "add ipv6 support to HTTP daemon".
This commit is contained in:
Olivier Certner 2025-01-07 17:32:39 +01:00
parent cb777ed836
commit 93ace5cf45

View File

@ -42,6 +42,7 @@
#include <arpa/inet.h>
#include <ifaddrs.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <net/if.h>
#include <netdb.h>
#endif