From f1835d85310dbb2f7e4617c9cc162a00e6641802 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 21 Oct 2015 14:10:57 +1300 Subject: dynconfig: Use replace.h and memory.h directly, not via includes.h includes.h brings in talloc.h, but this was recently removed as a dependency. Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Wed Oct 21 11:26:38 CEST 2015 on sn-devel-104 --- dynconfig/dynconfig.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'dynconfig') diff --git a/dynconfig/dynconfig.c b/dynconfig/dynconfig.c index cf35bdb435d..961415278a0 100644 --- a/dynconfig/dynconfig.c +++ b/dynconfig/dynconfig.c @@ -18,8 +18,6 @@ along with this program. If not, see . */ -#include "includes.h" - /** * @file dynconfig.c * @@ -40,10 +38,9 @@ * table? There's kind of a chicken-and-egg situation there... **/ +#include "replace.h" #include "dynconfig.h" -#ifdef strdup -#undef strdup -#endif +#include "lib/util/memory.h" #define DEFINE_DYN_CONFIG_PARAM(name) \ const char *dyn_##name = name; \ -- cgit v1.2.1