summaryrefslogtreecommitdiffstats
path: root/includes.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-10-27 23:42:05 +1000
committerDamien Miller <djm@mindrot.org>1999-10-27 23:42:05 +1000
commit332e67fde27c4017d2df8dafe05a55be3c7597cd (patch)
tree3c973d134c785a840e2f0c56aea886d8fa6f6b96 /includes.h
parent726a5b3be128911d2f38f73a6a8c9be6dde9bb3a (diff)
Attempt to clean up PAM code
Use PWDB getpw* functions if HAVE_PWDB defined Minor other tidyups
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/includes.h b/includes.h
index 8fa174bd..b2e8c1e7 100644
--- a/includes.h
+++ b/includes.h
@@ -61,6 +61,14 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
#include "mktemp.h"
#include "strlcpy.h"
+#ifdef HAVE_PAM
+#include <security/pam_appl.h>
+#endif /* HAVE_PAM */
+
+#ifdef HAVE_PWDB
+#include <pwdb/pwdb_map.h>
+#endif /* HAVE_PWDB */
+
/* Define this to be the path of the xauth program. */
#ifndef XAUTH_PATH
#define XAUTH_PATH "/usr/X11R6/bin/xauth"