From cb1a89cb644e9a26935a9976b220bd6215801cb2 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 24 Feb 2001 21:14:18 +0000 Subject: [PATCH] Declare inet_aton properly, if the system lacks support for it. PR: #9382 --- main/network.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 #endif -#else +#endif + +#ifndef HAVE_INET_ATON int inet_aton(const char *, struct in_addr *); #endif -- 2.50.1