Author: jelmer Date: 2005-09-23 15:08:17 +0000 (Fri, 23 Sep 2005) New Revision: 10453
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10453 Log: Fix the build Modified: branches/SAMBA_4_0/source/lib/replace/config.m4 branches/SAMBA_4_0/source/lib/replace/replace.h Changeset: Modified: branches/SAMBA_4_0/source/lib/replace/config.m4 =================================================================== --- branches/SAMBA_4_0/source/lib/replace/config.m4 2005-09-23 14:09:38 UTC (rev 10452) +++ branches/SAMBA_4_0/source/lib/replace/config.m4 2005-09-23 15:08:17 UTC (rev 10453) @@ -16,7 +16,7 @@ fi dnl Provided by replace.c: -AC_HAVE_TYPE([socklen_t], [#include <sys/socket.h>]) +AC_CHECK_TYPE([socklen_t], int) AC_CHECK_HEADERS(sys/syslog.h syslog.h) AC_CHECK_FUNCS(strtoull __strtoull strtouq strtoll __strtoll strtoq) AC_CHECK_FUNCS(seteuid setresuid setegid setresgid chroot bzero strerror) Modified: branches/SAMBA_4_0/source/lib/replace/replace.h =================================================================== --- branches/SAMBA_4_0/source/lib/replace/replace.h 2005-09-23 14:09:38 UTC (rev 10452) +++ branches/SAMBA_4_0/source/lib/replace/replace.h 2005-09-23 15:08:17 UTC (rev 10453) @@ -144,11 +144,6 @@ typedef unsigned char u_int8_t; #endif -#ifndef HAVE_SOCKLEN_T -#define socklen_t int -#define HAVE_SOCKLEN_T 1 -#endif - #ifdef HAVE_DLFCN_H #include <dlfcn.h> #endif
