mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-08-03 10:16:03 -04:00
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:
parent
cb777ed836
commit
93ace5cf45
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user