lib/util: remove the "includes.h" dependeny from util_file.c
authorStefan Metzmacher <metze@samba.org>
Fri, 21 Oct 2011 11:42:34 +0000 (13:42 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 22 Oct 2011 07:28:26 +0000 (09:28 +0200)
metze

lib/util/util_file.c

index 7c00dd8b579828e8af206e6273757e2bbd2ae083..e031fc511225563869a93aa537f65550e731dc6a 100644 (file)
  * this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "includes.h"
+#include "replace.h"
 #include "system/shmem.h"
 #include "system/filesys.h"
-#if _SAMBA_BUILD_ == 3
-#undef malloc
-#undef realloc
-#endif
+#include <talloc.h>
+#include "lib/util/samba_util.h"
+#include "lib/util/debug.h"
 
 /**
  * @file