summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-21 13:42:34 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-22 09:28:26 +0200
commitb6026dfa94e148b8a6b7a75ad22b5097654c4b7d (patch)
tree7dcd4c369010dc9b9c6e484eb642e253bb3a9174 /lib/util
parentfbe7ed79b0f056a9a8f44a9b42e887441d2f00d5 (diff)
downloadsamba-b6026dfa94e148b8a6b7a75ad22b5097654c4b7d.tar.gz
samba-b6026dfa94e148b8a6b7a75ad22b5097654c4b7d.tar.bz2
samba-b6026dfa94e148b8a6b7a75ad22b5097654c4b7d.zip
lib/util: remove the "includes.h" dependeny from util_file.c
metze
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/util_file.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/util/util_file.c b/lib/util/util_file.c
index 7c00dd8b57..e031fc5112 100644
--- a/lib/util/util_file.c
+++ b/lib/util/util_file.c
@@ -19,13 +19,12 @@
* 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