Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
40f32f35
Commit
40f32f35
authored
Jan 12, 2005
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add conditional inclusion of <com_err.h> to support old 'heimdal'
version of Kerberos. Per report from Reinhard Max.
parent
2ec1aa4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
src/backend/libpq/auth.c
src/backend/libpq/auth.c
+5
-1
src/interfaces/libpq/fe-auth.c
src/interfaces/libpq/fe-auth.c
+5
-1
No files found.
src/backend/libpq/auth.c
View file @
40f32f35
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/libpq/auth.c,v 1.12
1 2004/12/31 21:59:50 pgsq
l Exp $
* $PostgreSQL: pgsql/src/backend/libpq/auth.c,v 1.12
2 2005/01/12 21:37:53 tg
l Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -150,6 +150,10 @@ pg_krb4_recvauth(Port *port)
*/
#include <krb5.h>
/* Some old versions of Kerberos do not include <com_err.h> in <krb5.h> */
#if !defined(__COM_ERR_H) && !defined(__COM_ERR_H__)
#include <com_err.h>
#endif
/*
* pg_an_to_ln -- return the local name corresponding to an authentication
...
...
src/interfaces/libpq/fe-auth.c
View file @
40f32f35
...
...
@@ -10,7 +10,7 @@
* exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes).
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.c,v 1.9
8 2005/01/04 23:18:25
tgl Exp $
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.c,v 1.9
9 2005/01/12 21:37:54
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -243,6 +243,10 @@ pg_krb4_sendauth(char *PQerrormsg, int sock,
*/
#include <krb5.h>
/* Some old versions of Kerberos do not include <com_err.h> in <krb5.h> */
#if !defined(__COM_ERR_H) && !defined(__COM_ERR_H__)
#include <com_err.h>
#endif
/*
* pg_an_to_ln -- return the local name corresponding to an authentication
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment