summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/net.c b/runtime/net.c
index 5d5e5eb7..1a8f2438 100644
--- a/runtime/net.c
+++ b/runtime/net.c
@@ -54,11 +54,11 @@
#include <fnmatch.h>
#include <fcntl.h>
#include <unistd.h>
-#if HAVE_GETIFADDR
+#if HAVE_GETIFADDRS
#include <ifaddrs.h>
#else
#include "compat/ifaddrs.h"
-#endif /* HAVE_GETIFADDR */
+#endif /* HAVE_GETIFADDRS */
#include <sys/types.h>
#include <arpa/inet.h>