From 6e9097045fcea332d91791d9820d7ad8e086f6d4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 26 Aug 2006 17:19:58 +0000 Subject: r17842: After talking to Simo, apply the next attempt to resolve the strnlen problem. Timegm is the same. Simo says this is just a workaround, but it helps for now. Feel free to revert. Volker (This used to be commit fd166ca0c079d83081bc1d631fe40b965c7873d4) --- source4/lib/ldb/replace/replace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb/replace/replace.c') diff --git a/source4/lib/ldb/replace/replace.c b/source4/lib/ldb/replace/replace.c index faa5771a76..a63613fc10 100644 --- a/source4/lib/ldb/replace/replace.c +++ b/source4/lib/ldb/replace/replace.c @@ -23,7 +23,7 @@ #include "includes.h" #include "ldb/include/includes.h" -#ifndef HAVE_STRNLEN +#if !defined(HAVE_STRNLEN) && !defined(_SAMBA_BUILD_) /** Some platforms don't have strnlen **/ -- cgit