From d9f67dad557ec8bf715c33738d5cfcad0a71ee23 Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 25 Mar 2021 21:53:05 -0700 Subject: [PATCH] net: add ifaddrs.h include --- src/net.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/net.cpp b/src/net.cpp index c063172732608..e865b241d91e2 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -31,6 +31,10 @@ #include #endif +#if HAVE_DECL_GETIFADDRS && HAVE_DECL_FREEIFADDRS +#include +#endif + #ifdef USE_UPNP #include #include