summaryrefslogtreecommitdiff
path: root/lib
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:27 +0200
commitc2b5106387f2fcfa2d789f40d492d53e6c978076 (patch)
treeba98a3b1a1aa7c44f0e0ab761af2d47cb81e23b8 /lib
parentb6026dfa94e148b8a6b7a75ad22b5097654c4b7d (diff)
downloadsamba-c2b5106387f2fcfa2d789f40d492d53e6c978076.tar.gz
samba-c2b5106387f2fcfa2d789f40d492d53e6c978076.tar.bz2
samba-c2b5106387f2fcfa2d789f40d492d53e6c978076.zip
lib/util: remove the "includes.h" dependeny from xfile.c
metze
Diffstat (limited to 'lib')
-rw-r--r--lib/util/xfile.c7
1 files changed, 2 insertions, 5 deletions
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