mirror of
https://github.com/samba-team/samba.git
synced 2025-07-23 20:59:10 +03:00
debug: Standalone compile without includes.h
Compiling utilities with includes.h is confusing because includes.h could come from source3, source4 or ctdb. Utilities should be independent of such things. Add a minimal set of fined-grained includes that attempts to avoid the catch-all samba_util.h. A comment indicates what is used from samba_util.h so that future clean-ups are easier. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
committed by
Volker Lendecke
parent
f8bd8924ca
commit
e0a5c43bd0
@ -19,11 +19,16 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include <talloc.h>
|
||||
#include "replace.h"
|
||||
#include "system/filesys.h"
|
||||
#include "system/syslog.h"
|
||||
#include "lib/util/time_basic.h"
|
||||
#include "lib/util/close_low_fd.h"
|
||||
#include "system/locale.h"
|
||||
#include "time_basic.h"
|
||||
#include "close_low_fd.h"
|
||||
#include "memory.h"
|
||||
#include "samba_util.h" /* LIST_SEP */
|
||||
#include "debug.h"
|
||||
|
||||
/* define what facility to use for syslog */
|
||||
#ifndef SYSLOG_FACILITY
|
||||
|
Reference in New Issue
Block a user