summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-02 18:46:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:58 -0500
commit5e1a9fe62b2ce1af3d710af4f1282a9c7c193d3a (patch)
tree854128b7f52c2c50eadc981972b279e0c92d0fe8
parentf91008deb7d88d6c8af473361dcc10644c330096 (diff)
downloadsamba-5e1a9fe62b2ce1af3d710af4f1282a9c7c193d3a.tar.gz
samba-5e1a9fe62b2ce1af3d710af4f1282a9c7c193d3a.tar.bz2
samba-5e1a9fe62b2ce1af3d710af4f1282a9c7c193d3a.zip
r8933: Fix missing prototype warnings
(This used to be commit 39b2220a84b1860d8ee09b8c15049f18fd77da7d)
-rw-r--r--source4/auth/auth_unix.c1
-rw-r--r--source4/include/system/passwd.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/source4/auth/auth_unix.c b/source4/auth/auth_unix.c
index 0c2db48c56..97c941a2a5 100644
--- a/source4/auth/auth_unix.c
+++ b/source4/auth/auth_unix.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "auth/auth.h"
#include "system/passwd.h"
+#include "system/iconv.h"
/* TODO: look at how to best fill in parms retrieveing a struct passwd info
* except in case USER_INFO_DONT_CHECK_UNIX_ACCOUNT is set
diff --git a/source4/include/system/passwd.h b/source4/include/system/passwd.h
index f994df542f..219ec306ae 100644
--- a/source4/include/system/passwd.h
+++ b/source4/include/system/passwd.h
@@ -33,6 +33,10 @@
#include <sys/id.h>
#endif
+#ifdef HAVE_CRYPT_H
+#include <crypt.h>
+#endif
+
#ifdef HAVE_SHADOW_H
#include <shadow.h>
#endif