From 5e1a9fe62b2ce1af3d710af4f1282a9c7c193d3a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 2 Aug 2005 18:46:17 +0000 Subject: r8933: Fix missing prototype warnings (This used to be commit 39b2220a84b1860d8ee09b8c15049f18fd77da7d) --- source4/auth/auth_unix.c | 1 + source4/include/system/passwd.h | 4 ++++ 2 files changed, 5 insertions(+) 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 #endif +#ifdef HAVE_CRYPT_H +#include +#endif + #ifdef HAVE_SHADOW_H #include #endif -- cgit