From: Sascha Schumann Date: Fri, 3 Dec 1999 22:08:32 +0000 (+0000) Subject: Fix for #2909 X-Git-Tag: PRE_RETURN_REF_PATCH~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=689265145a8425981e8b56046835442ed603e32a;p=php Fix for #2909 --- 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)