From da46c9252ee887602b3e629065ca87b9ed11466f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 23 Sep 2005 15:08:17 +0000 Subject: r10453: Fix the build (This used to be commit 7be3ec4dbb919752477e1d995df9f7d295b67687) --- source4/lib/replace/config.m4 | 2 +- source4/lib/replace/replace.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'source4/lib') diff --git a/source4/lib/replace/config.m4 b/source4/lib/replace/config.m4 index 3dbb5e4cf1..ac4db9ed5b 100644 --- a/source4/lib/replace/config.m4 +++ b/source4/lib/replace/config.m4 @@ -16,7 +16,7 @@ if test x"$samba_cv_REPLACE_INET_NTOA" = x"yes"; then fi dnl Provided by replace.c: -AC_HAVE_TYPE([socklen_t], [#include ]) +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) diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h index f906e7a2f5..28a6392eb3 100644 --- a/source4/lib/replace/replace.h +++ b/source4/lib/replace/replace.h @@ -144,11 +144,6 @@ typedef unsigned short u_int16_t; 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 #endif -- cgit