diff options
author | Martin Schwenke <martin@meltin.net> | 2014-09-22 19:21:42 +1000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-10-04 00:11:20 +0200 |
commit | 2d7dfe3d68c39f11afdece3281f9fbca0b48fb3f (patch) | |
tree | 3af593511742609e806ceef16dddabae261ab7ec /lib/util/xfile.h | |
parent | 3d6675fd1ee32ba0795f7f09f42a1b005ba5e621 (diff) | |
download | samba-2d7dfe3d68c39f11afdece3281f9fbca0b48fb3f.tar.gz samba-2d7dfe3d68c39f11afdece3281f9fbca0b48fb3f.tar.xz samba-2d7dfe3d68c39f11afdece3281f9fbca0b48fb3f.zip |
lib/util: Clean up includes for xfile.[ch]
The include files added to xfile.h are already included
unconditionally elsewhere (replace.h, samba_util.h, ...) so Samba
can't be built without them.
To minimise dependencies, only include specific util headers instead
of samba_util.h.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/util/xfile.h')
-rw-r--r-- | lib/util/xfile.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/util/xfile.h b/lib/util/xfile.h index 1b15929997..f52596dc8a 100644 --- a/lib/util/xfile.h +++ b/lib/util/xfile.h @@ -19,6 +19,12 @@ #ifndef _XFILE_H_ #define _XFILE_H_ + +#include <stdarg.h> +#include <stddef.h> +#include <sys/stat.h> +#include "attr.h" + /* see xfile.c for explanations */ |