summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-26 02:36:27 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-26 02:36:27 +0000
commitf1451f5d2e97360a39fdee1b26e140de5619673f (patch)
treeef28036e646d66a4632b273df5c96c2f24144573 /source3/include/includes.h
parent54499a925c9e580bbdeca12dde42af3557a01067 (diff)
downloadsamba-f1451f5d2e97360a39fdee1b26e140de5619673f.tar.gz
samba-f1451f5d2e97360a39fdee1b26e140de5619673f.tar.bz2
samba-f1451f5d2e97360a39fdee1b26e140de5619673f.zip
get includes right for systems that use getpwanam()
(This used to be commit afe98165a261a740cd0ee88bf041d69721ec72e6)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 55c2c1a1de..38f0719164 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -244,6 +244,12 @@
#include <shadow.h>
#endif
+#ifdef HAVE_GETPWANAM
+#include <sys/label.h>
+#include <sys/audit.h>
+#include <pwdadj.h>
+#endif
+
#ifdef HAVE_SYS_SECURITY_H
#include <sys/security.h>
#include <prot.h>