summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/network.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/network.c b/main/network.c
index 8b614e54ed..17af5e9f5c 100644
--- a/main/network.c
+++ b/main/network.c
@@ -39,7 +39,9 @@
#if HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
-#else
+#endif
+
+#ifndef HAVE_INET_ATON
int inet_aton(const char *, struct in_addr *);
#endif