From 4bc8b0c19431072ae2b64a582fc70e491507ed1d Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 1 Nov 2011 07:11:25 +1030 Subject: tdb2: use HAVE_LIBREPLACE instead of _SAMBA_BUILD_. This is what lib/tdb2 really wants: to know if it should use normal headers or replace.h. It currently uses _SAMBA_BUILD_, which is wrong for ldb, for example. Signed-off-by: Rusty Russell Autobuild-User: Rusty Russell Autobuild-Date: Tue Nov 1 03:19:58 CET 2011 on sn-devel-104 --- lib/tdb2/private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tdb2/private.h') diff --git a/lib/tdb2/private.h b/lib/tdb2/private.h index 93ceb5f4ec..87245a5970 100644 --- a/lib/tdb2/private.h +++ b/lib/tdb2/private.h @@ -22,7 +22,7 @@ #include #include -#ifdef _SAMBA_BUILD_ +#ifdef HAVE_LIBREPLACE #include "replace.h" #include "system/filesys.h" #include "system/time.h" -- cgit