diff --git a/configure.in b/configure.in index bb33d02549..8f98dfce22 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.184 2003-11-18 03:11:54 brodsom Exp $ +dnl $Id: configure.in,v 1.185 2003-11-20 08:13:30 eku Exp $ dnl ############################# INITIALISATION ############################### @@ -443,6 +443,9 @@ fi AC_CHECK_SIZEOF(void*) AC_CHECK_SIZEOF(long) AC_CHECK_TYPES([socklen_t],,,[#include ]) +AH_BOTTOM([#ifndef HAVE_SOCKLEN_T +typedef int socklen_t; +#endif]) AC_CHECK_TYPES([semun]) if test "$ac_cv_type_semun" = "no"; then AC_MSG_CHECKING(if sem.h defines semun) diff --git a/src/remote/inet.cpp b/src/remote/inet.cpp index d77659c00e..2f820a6110 100644 --- a/src/remote/inet.cpp +++ b/src/remote/inet.cpp @@ -41,7 +41,7 @@ * */ /* -$Id: inet.cpp,v 1.88 2003-11-16 12:52:36 brodsom Exp $ +$Id: inet.cpp,v 1.89 2003-11-20 08:13:25 eku Exp $ */ #include "firebird.h" #include "../jrd/ib_stdio.h" @@ -159,10 +159,6 @@ extern int h_errno; #endif /* WIN_NT */ -#ifndef HAVE_SOCKLEN_T -typedef int socklen_t; -#endif - #ifdef SYSV_SIGNALS #define NO_ITIMER #endif