diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/libpq/auth.c | 7 | ||||
-rw-r--r-- | src/include/pg_config.h.in | 8 |
2 files changed, 13 insertions, 2 deletions
diff --git a/src/backend/libpq/auth.c b/src/backend/libpq/auth.c index 2ee4a689ae8..e6edef6b676 100644 --- a/src/backend/libpq/auth.c +++ b/src/backend/libpq/auth.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.96 2003/01/06 09:58:23 petere Exp $ + * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.97 2003/02/14 14:05:00 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -43,7 +43,12 @@ static int recv_and_check_password_packet(Port *port); char *pg_krb_server_keyfile; #ifdef USE_PAM +#ifdef HAVE_PAM_PAM_APPL_H +#include <pam/pam_appl.h> +#endif +#ifdef HAVE_SECURITY_PAM_APPL_H #include <security/pam_appl.h> +#endif #define PGSQL_PAM_SERVICE "postgresql" /* Service name passed to PAM */ diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index ba878df0acd..953fd4597b2 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -8,7 +8,7 @@ * or in pg_config.h afterwards. Of course, if you edit pg_config.h, then your * changes will be overwritten the next time you run configure. * - * $Id: pg_config.h.in,v 1.38 2003/01/25 05:19:47 tgl Exp $ + * $Id: pg_config.h.in,v 1.39 2003/02/14 14:05:00 momjian Exp $ */ #ifndef PG_CONFIG_H @@ -344,6 +344,9 @@ /* Set to 1 if you have <netinet/tcp.h> */ #undef HAVE_NETINET_TCP_H +/* Set to 1 if you have <pam/pam_appl.h> */ +#undef HAVE_PAM_PAM_APPL_H + /* Set to 1 if you have <readline.h> */ #undef HAVE_READLINE_H @@ -353,6 +356,9 @@ /* Set to 1 if you have <readline/readline.h> */ #undef HAVE_READLINE_READLINE_H +/* Set to 1 if you have <security/pam_appl.h> */ +#undef HAVE_SECURITY_PAM_APPL_H + /* Set to 1 if you have <sys/ipc.h> */ #undef HAVE_SYS_IPC_H |