From 70b52b02a77c695d32aa57daaeb5689cd6857eba Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 24 Sep 2005 14:58:18 +0000 Subject: r10476: Move some more types to libreplace. Fix missing strndup errors for heimdal (This used to be commit e09ffdfb1dba289b79ac7e5a638bf5322d45ddc0) --- source4/heimdal_build/config.h | 4 ++++ source4/heimdal_build/config.m4 | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/heimdal_build') diff --git a/source4/heimdal_build/config.h b/source4/heimdal_build/config.h index f3660bc6ac..b97033022a 100644 --- a/source4/heimdal_build/config.h +++ b/source4/heimdal_build/config.h @@ -55,4 +55,8 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg } #define OPENLOG_PROTO_COMPATIBLE #define GETSOCKNAME_PROTO_COMPATIBLE +#ifndef HAVE_STRNDUP +#define HAVE_STRNDUP +#endif + #endif diff --git a/source4/heimdal_build/config.m4 b/source4/heimdal_build/config.m4 index b42bc92ee3..fadb0a13c0 100644 --- a/source4/heimdal_build/config.m4 +++ b/source4/heimdal_build/config.m4 @@ -213,10 +213,6 @@ SMB_BINARY_ENABLE(compile_et, NO) AC_PROG_LEX AC_PROG_YACC -AC_CHECK_TYPES(u_int32_t) -AC_CHECK_TYPES(u_int16_t) -AC_CHECK_TYPES(u_int8_t) - # to enable kerberos, unpack a heimdal source tree in the heimdal directory # of the samba source tree if test -d heimdal; then -- cgit