lib/util: remove the "includes.h" dependeny from xfile.c
[rusty/samba.git] / lib / util / xfile.c
index 16499e17367cc1e89c1973bb6d4337ced0f15d5c..58a34bf1c34a9cb060a0e7539c134d8eb0f7af9b 100644 (file)
   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