summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-28 15:09:35 +1100
committerDamien Miller <djm@mindrot.org>1999-12-28 15:09:35 +1100
commitbeb4ba5a68dbfa478bcc375cc885a047a8301c0d (patch)
treef612c8142e3891e40e68797c00a339a8efde0a40 /defines.h
parent4ff2b9bf429f40cb4d8119108cd7c4aa76c081ee (diff)
- Portability fixes for Irix 5.3 (now compiles OK!)
- autoconf and other misc cleanups
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/defines.h b/defines.h
index 9d5d17f2..bcab3c08 100644
--- a/defines.h
+++ b/defines.h
@@ -18,9 +18,13 @@
#endif
#ifdef HAVE_MAILLOCK_H
-#include <maillock.h>
+# include <maillock.h> /* For _PATH_MAILDIR */
#endif
+#ifdef HAVE_SYS_CDEFS_H
+# include <sys/cdefs.h> /* For __P() */
+#endif
+
#ifndef SHUT_RDWR
enum
{
@@ -205,3 +209,8 @@ enum
# define _PATH_RSH RSH_PATH
# endif /* RSH_PATH */
#endif /* _PATH_RSH */
+
+#if defined(HAVE_SECURITY_PAM_APPL_H) && !defined(DISABLE_PAM)
+# define USE_PAM
+#endif /* defined(HAVE_SECURITY_PAM_APPL_H) && !defined(DISABLE_PAM) */
+