From e6901fa35069e234044c94b87ac9df4064b31d1c Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 21 Feb 2012 15:29:12 +1030 Subject: lib/tdb2: tools should use config.h, and replace where available. The tdb2 tools should #include "config.h" before tdb2.h (about to become a requirement) and use libreplace where available. Signed-off-by: Rusty Russell --- lib/tdb2/tools/tdb2dump.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/tdb2/tools/tdb2dump.c') diff --git a/lib/tdb2/tools/tdb2dump.c b/lib/tdb2/tools/tdb2dump.c index abe1d9b871..40230a2643 100644 --- a/lib/tdb2/tools/tdb2dump.c +++ b/lib/tdb2/tools/tdb2dump.c @@ -16,7 +16,13 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#include "config.h" #include "tdb2.h" +#ifdef HAVE_LIBREPLACE +#include +#include +#include +#else #include #include #include @@ -24,6 +30,7 @@ #include #include #include +#endif static void print_data(TDB_DATA d) { -- cgit