From 3517eba632e781f207e1ec09fcdfe10447f8abd5 Mon Sep 17 00:00:00 2001
From: Yang Tse <yangsita@gmail.com>
Date: Fri, 14 Nov 2008 15:26:27 +0000
Subject: [PATCH] fix typo affecting inclusion of <arpa/inet.h> in configure
 checks for inet_ntoa_r() inet_ntop() and inet_pton()

---
 ares/m4/cares-functions.m4 | 4 ++--
 m4/curl-functions.m4       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ares/m4/cares-functions.m4 b/ares/m4/cares-functions.m4
index aff65b8455..bf0e88f427 100644
--- a/ares/m4/cares-functions.m4
+++ b/ares/m4/cares-functions.m4
@@ -16,7 +16,7 @@
 #***************************************************************************
 
 # File version for 'aclocal' use. Keep it a single number.
-# serial 21
+# serial 22
 
 
 dnl CARES_INCLUDES_ARPA_INET
@@ -37,7 +37,7 @@ cares_includes_arpa_inet="\
 #  include <netinet/in.h>
 #endif
 #ifdef HAVE_ARPA_INET_H
-#  include <arpa_inet.h>
+#  include <arpa/inet.h>
 #endif
 /* includes end */"
   AC_CHECK_HEADERS(
diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4
index b25f9b6866..02d3701cde 100644
--- a/m4/curl-functions.m4
+++ b/m4/curl-functions.m4
@@ -22,7 +22,7 @@
 #***************************************************************************
 
 # File version for 'aclocal' use. Keep it a single number.
-# serial 38
+# serial 39
 
 
 dnl CURL_INCLUDES_ARPA_INET
@@ -43,7 +43,7 @@ curl_includes_arpa_inet="\
 #  include <netinet/in.h>
 #endif
 #ifdef HAVE_ARPA_INET_H
-#  include <arpa_inet.h>
+#  include <arpa/inet.h>
 #endif
 /* includes end */"
   AC_CHECK_HEADERS(
-- 
GitLab