summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-25 17:14:22 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:07 +0200
commit49fcf653b11ef7308b849027d342a3182f270dd3 (patch)
treeb0a1a0645aabf14cf304ab14b90158988830b9bc /source3/lib
parent7369ef1f1cdeeeed89e454c588edb51d2ea0e962 (diff)
downloadsamba-49fcf653b11ef7308b849027d342a3182f270dd3.tar.gz
samba-49fcf653b11ef7308b849027d342a3182f270dd3.tar.bz2
samba-49fcf653b11ef7308b849027d342a3182f270dd3.zip
s3-includes: only include system/passwd.h when needed.
Guenther
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/substitute.c1
-rw-r--r--source3/lib/sysacls.c1
-rw-r--r--source3/lib/system.c1
-rw-r--r--source3/lib/system_smbd.c1
-rw-r--r--source3/lib/username.c1
-rw-r--r--source3/lib/util.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c
index 629c4b63d7..297d387af5 100644
--- a/source3/lib/substitute.c
+++ b/source3/lib/substitute.c
@@ -20,6 +20,7 @@
#include "includes.h"
+#include "system/passwd.h"
#include "secrets.h"
static char *alloc_sub_basic(const char *smb_name, const char *domain_name,
diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c
index 9c1256ed65..9a49c50127 100644
--- a/source3/lib/sysacls.c
+++ b/source3/lib/sysacls.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "system/passwd.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_ACLS
diff --git a/source3/lib/system.c b/source3/lib/system.c
index 316e8ff61b..f846dcac89 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "system/syslog.h"
#include "system/capability.h"
+#include "system/passwd.h"
#ifdef HAVE_SYS_PRCTL_H
#include <sys/prctl.h>
diff --git a/source3/lib/system_smbd.c b/source3/lib/system_smbd.c
index 12538c4434..634f88ea9c 100644
--- a/source3/lib/system_smbd.c
+++ b/source3/lib/system_smbd.c
@@ -24,6 +24,7 @@
*/
#include "includes.h"
+#include "system/passwd.h"
#include "nsswitch/winbind_client.h"
#ifndef HAVE_GETGROUPLIST
diff --git a/source3/lib/username.c b/source3/lib/username.c
index 40e284a01a..d5da532124 100644
--- a/source3/lib/username.c
+++ b/source3/lib/username.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "system/passwd.h"
#include "memcache.h"
#include "../lib/util/util_pw.h"
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 2690a6f649..1bd199cca6 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -22,6 +22,7 @@
*/
#include "includes.h"
+#include "system/passwd.h"
#include "popt_common.h"
#include "secrets.h"
#include "ctdbd_conn.h"