summaryrefslogtreecommitdiff
path: root/lib/util/xfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/xfile.c')
-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