r10453: Fix the build
authorJelmer Vernooij <jelmer@samba.org>
Fri, 23 Sep 2005 15:08:17 +0000 (15:08 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:38:48 +0000 (13:38 -0500)
(This used to be commit 7be3ec4dbb919752477e1d995df9f7d295b67687)

source4/lib/replace/config.m4
source4/lib/replace/replace.h

index 3dbb5e4cf159a3609511d84ed0a10cb4d83413c9..ac4db9ed5bbc1e1ea482d8ae5c6048ccd4dee5e7 100644 (file)
@@ -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 <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)
index f906e7a2f50dc25675bebd07866e1038e7f77017..28a6392eb3be036ecc523dd7e38b4b3c01753dc9 100644 (file)
@@ -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 <dlfcn.h>
 #endif