Skip to content

Commit 3ed1055

Browse files
fanquakeFuzzbawls
authored andcommitted
net: add ifaddrs.h include
1 parent c034c0c commit 3ed1055

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/net.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
#include <fcntl.h>
3232
#endif
3333

34+
#if HAVE_DECL_GETIFADDRS && HAVE_DECL_FREEIFADDRS
35+
#include <ifaddrs.h>
36+
#endif
37+
3438
#ifdef USE_UPNP
3539
#include <miniupnpc/miniupnpc.h>
3640
#include <miniupnpc/upnpcommands.h>

0 commit comments

Comments
 (0)