r8933: Fix missing prototype warnings
authorJelmer Vernooij <jelmer@samba.org>
Tue, 2 Aug 2005 18:46:17 +0000 (18:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:30:58 +0000 (13:30 -0500)
(This used to be commit 39b2220a84b1860d8ee09b8c15049f18fd77da7d)

source4/auth/auth_unix.c
source4/include/system/passwd.h

index 0c2db48c563337ec9451780557e225fdc144c365..97c941a2a5051543d1741da62a385ba60e847641 100644 (file)
@@ -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
index f994df542fbd96fd01cb57f828f47c8fbf66be37..219ec306ae3bdef0f7a54962796458dfe1cfa0d1 100644 (file)
 #include <sys/id.h>
 #endif
 
+#ifdef HAVE_CRYPT_H
+#include <crypt.h>
+#endif
+
 #ifdef HAVE_SHADOW_H
 #include <shadow.h>
 #endif