diff options
author | Sascha Schumann <sas@php.net> | 1999-12-03 22:08:32 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-12-03 22:08:32 +0000 |
commit | 689265145a8425981e8b56046835442ed603e32a (patch) | |
tree | a4727605a55d3e2c8ac31dd09006fb9da9a38fbc | |
parent | 70b97864f8c6d6ac86e1088adc0132dafafe6d5b (diff) | |
download | php-git-689265145a8425981e8b56046835442ed603e32a.tar.gz |
Fix for #2909
-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) |