diff options
author | Andrew Bartlett <abartlet@samba.org> | 2015-10-21 14:10:57 +1300 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-10-21 11:26:38 +0200 |
commit | f1835d85310dbb2f7e4617c9cc162a00e6641802 (patch) | |
tree | cedfd654842d58602e21c0b4c0782ed71e4fec6e /dynconfig | |
parent | e4054f211872168ac4cf022e2d961e8979610920 (diff) | |
download | samba-f1835d85310dbb2f7e4617c9cc162a00e6641802.tar.gz |
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 <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Oct 21 11:26:38 CEST 2015 on sn-devel-104
Diffstat (limited to 'dynconfig')
-rw-r--r-- | dynconfig/dynconfig.c | 7 |
1 files changed, 2 insertions, 5 deletions
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 <http://www.gnu.org/licenses/>. */ -#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; \ |