summaryrefslogtreecommitdiff
path: root/aczsh.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aczsh.m4')
-rw-r--r--aczsh.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/aczsh.m4 b/aczsh.m4
index 5dd85fba9..a967431da 100644
--- a/aczsh.m4
+++ b/aczsh.m4
@@ -695,6 +695,7 @@ dnl zsh_CHECK_SOCKLEN_T
dnl
dnl check type of third argument of some network functions; currently
dnl tested are size_t *, unsigned long *, int *.
+dnl call the result ZSOCKLEN_T since some systems have SOCKLEN_T already
dnl
AC_DEFUN([zsh_CHECK_SOCKLEN_T],[
AC_CACHE_CHECK(
@@ -714,7 +715,7 @@ AC_DEFUN([zsh_CHECK_SOCKLEN_T],[
zsh_cv_type_socklen_t=int
fi]
)
- AC_DEFINE_UNQUOTED([SOCKLEN_T], [$zsh_cv_type_socklen_t],
+ AC_DEFINE_UNQUOTED([ZSOCKLEN_T], [$zsh_cv_type_socklen_t],
[Define to the base type of the third argument of accept])]
)