Skip to content

Commit

Permalink
net: add ifaddrs.h include
Browse files Browse the repository at this point in the history
  • Loading branch information
fanquake authored and Fuzzbawls committed Apr 14, 2021
1 parent e906436 commit d9f67da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
#include <fcntl.h>
#endif

#if HAVE_DECL_GETIFADDRS && HAVE_DECL_FREEIFADDRS
#include <ifaddrs.h>
#endif

#ifdef USE_UPNP
#include <miniupnpc/miniupnpc.h>
#include <miniupnpc/upnpcommands.h>
Expand Down

0 comments on commit d9f67da

Please sign in to comment.