From c2b5106387f2fcfa2d789f40d492d53e6c978076 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 21 Oct 2011 13:42:34 +0200 Subject: lib/util: remove the "includes.h" dependeny from xfile.c metze --- lib/util/xfile.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/util/xfile.c b/lib/util/xfile.c index 16499e1736..58a34bf1c3 100644 --- a/lib/util/xfile.c +++ b/lib/util/xfile.c @@ -33,12 +33,9 @@ and doesn't support O_RDWR. That keeps the code simple. */ -#include "includes.h" +#include "replace.h" #include "system/filesys.h" - -#if _SAMBA_BUILD_ == 3 -#undef malloc -#endif +#include "lib/util/samba_util.h" #define XBUFSIZE BUFSIZ -- cgit