fix closing parentheses
diff --git a/acinclude.m4 b/acinclude.m4
index 7de65c1..95929aa 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -552,7 +552,8 @@
 #include <arpa/inet.h>
 #endif
 #endif
-])
+  ]) dnl AC_CHECK_TYPE
+]) dnl AC_DEFUN
 
 dnl ************************************************************
 dnl check for "localhost", if it doesn't exist, we can't do the
diff --git a/ares/acinclude.m4 b/ares/acinclude.m4
index 5072ecd..b09c935 100644
--- a/ares/acinclude.m4
+++ b/ares/acinclude.m4
@@ -553,7 +553,8 @@
 #endif
 
 #endif
-])
+  ]) dnl AC_CHECK_TYPE
+]) dnl AC_DEFUN
 
 
 dnl We create a function for detecting which compiler we use and then set as