diff options
| -rw-r--r-- | acconfig.h.in | 2 | ||||
| -rw-r--r-- | configure.in | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/acconfig.h.in b/acconfig.h.in index c8e35458f8..760d55e2a1 100644 --- a/acconfig.h.in +++ b/acconfig.h.in @@ -1,5 +1,7 @@ /* This is the default configuration file to read -*- C -*- */ +#undef socklen_t + /* these are defined by automake */ #undef PACKAGE #undef VERSION diff --git a/configure.in b/configure.in index 3fadff58f5..8a3e87134d 100644 --- a/configure.in +++ b/configure.in @@ -286,7 +286,7 @@ if test "$ac_cv_struct_flock" = "yes" ; then fi if test "$ac_cv_socklen_t" = "no"; then - AC_DEFINE(socklen_t, "unsigned int", [Unix98 specifies to be socklen_t at least unsigned 32-bit]) + AC_CHECK_TYPE(socklen_t, unsigned int) fi AC_CHECK_SIZEOF(long, 8) |
