1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

s3-includes: only include acl prototypes when needed.

Guenther
This commit is contained in:
Günther Deschner 2011-04-13 23:48:33 +02:00
parent c4331f6fcf
commit 321587e44a
7 changed files with 27 additions and 24 deletions

View File

@ -562,33 +562,11 @@ enum flush_reason_enum {
/* NUM_FLUSH_REASONS must remain the last value in the enumeration. */
NUM_FLUSH_REASONS};
#include "modules/nfs4_acls.h"
/***** prototypes *****/
#ifndef NO_PROTO_H
#include "proto.h"
#endif
#if defined(HAVE_POSIX_ACLS)
#include "modules/vfs_posixacl.h"
#endif
#if defined(HAVE_TRU64_ACLS)
#include "modules/vfs_tru64acl.h"
#endif
#if defined(HAVE_SOLARIS_ACLS) || defined(HAVE_UNIXWARE_ACLS)
#include "modules/vfs_solarisacl.h"
#endif
#if defined(HAVE_HPUX_ACLS)
#include "modules/vfs_hpuxacl.h"
#endif
#if defined(HAVE_IRIX_ACLS)
#include "modules/vfs_irixacl.h"
#endif
/* We need this after proto.h to reference GetTimeOfDay(). */
#include "smbprofile.h"

View File

@ -22,6 +22,26 @@
#include "includes.h"
#include "system/passwd.h"
#if defined(HAVE_POSIX_ACLS)
#include "modules/vfs_posixacl.h"
#endif
#if defined(HAVE_TRU64_ACLS)
#include "modules/vfs_tru64acl.h"
#endif
#if defined(HAVE_SOLARIS_ACLS) || defined(HAVE_UNIXWARE_ACLS)
#include "modules/vfs_solarisacl.h"
#endif
#if defined(HAVE_HPUX_ACLS)
#include "modules/vfs_hpuxacl.h"
#endif
#if defined(HAVE_IRIX_ACLS)
#include "modules/vfs_irixacl.h"
#endif
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_ACLS

View File

@ -49,6 +49,8 @@
#include "includes.h"
#include "system/filesys.h"
#include "smbd/smbd.h"
#include "modules/vfs_hpuxacl.h"
/*
* including standard header <sys/aclv.h>

View File

@ -20,6 +20,8 @@
#include "includes.h"
#include "system/filesys.h"
#include "smbd/smbd.h"
#include "modules/vfs_irixacl.h"
/* prototypes for private functions first - for clarity */

View File

@ -20,7 +20,7 @@
#include "includes.h"
#include "system/filesys.h"
#include "smbd/smbd.h"
#include "modules/vfs_posixacl.h"
/* prototypes for static functions first - for clarity */

View File

@ -21,7 +21,7 @@
#include "includes.h"
#include "system/filesys.h"
#include "smbd/smbd.h"
#include "modules/vfs_solarisacl.h"
/* typedef struct acl SOLARIS_ACE_T; */
typedef aclent_t SOLARIS_ACE_T;

View File

@ -20,6 +20,7 @@
#include "includes.h"
#include "system/filesys.h"
#include "smbd/smbd.h"
#include "modules/vfs_tru64acl.h"
/* prototypes for private functions first - for clarity */