git.samba.org
/
rusty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6026df
)
lib/util: remove the "includes.h" dependeny from xfile.c
author
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Oct 2011 11:42:34 +0000
(13:42 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Sat, 22 Oct 2011 07:28:27 +0000
(09:28 +0200)
metze
lib/util/xfile.c
patch
|
blob
|
history
diff --git
a/lib/util/xfile.c
b/lib/util/xfile.c
index 16499e17367cc1e89c1973bb6d4337ced0f15d5c..58a34bf1c34a9cb060a0e7539c134d8eb0f7af9b 100644
(file)
--- 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