mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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>
This commit is contained in:
parent
3d6675fd1e
commit
2d7dfe3d68
@ -35,7 +35,8 @@
|
||||
|
||||
#include "replace.h"
|
||||
#include "system/filesys.h"
|
||||
#include "lib/util/samba_util.h"
|
||||
#include "memory.h"
|
||||
#include "xfile.h"
|
||||
|
||||
#define XBUFSIZE BUFSIZ
|
||||
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user