summaryrefslogtreecommitdiff
path: root/gl/m4/inet_pton.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/inet_pton.m4')
-rw-r--r--gl/m4/inet_pton.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/gl/m4/inet_pton.m4 b/gl/m4/inet_pton.m4
index 807a4dd288..e64da7b01e 100644
--- a/gl/m4/inet_pton.m4
+++ b/gl/m4/inet_pton.m4
@@ -1,4 +1,4 @@
-# inet_pton.m4 serial 16
+# inet_pton.m4 serial 17
dnl Copyright (C) 2006, 2008-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -6,6 +6,8 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_INET_PTON],
[
+ AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS])
+
dnl Persuade Solaris <arpa/inet.h> to declare inet_pton.
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])