lib/util: remove the "includes.h" dependeny from xfile.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:27 +0000 (09:28 +0200)
metze

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