diff options
-rw-r--r-- | runtime/net.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/net.c b/runtime/net.c index dcf9cb52..5d5e5eb7 100644 --- a/runtime/net.c +++ b/runtime/net.c @@ -54,7 +54,11 @@ #include <fnmatch.h> #include <fcntl.h> #include <unistd.h> +#if HAVE_GETIFADDR #include <ifaddrs.h> +#else +#include "compat/ifaddrs.h" +#endif /* HAVE_GETIFADDR */ #include <sys/types.h> #include <arpa/inet.h> |