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 committed Mar 29, 2021
1 parent 879215e commit 4783115
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/net.cpp
Expand Up @@ -31,6 +31,10 @@
#include <fcntl.h>
#endif

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

#ifdef USE_POLL
#include <poll.h>
#endif
Expand Down

0 comments on commit 4783115

Please sign in to comment.