summaryrefslogtreecommitdiff
path: root/src/include/libpq
diff options
context:
space:
mode:
authorBruce Momjian2000-06-15 03:33:12 +0000
committerBruce Momjian2000-06-15 03:33:12 +0000
commitdf43800fc855bd64dbe6c85c4d13bda1ea6a33c9 (patch)
tree86eb611a5ef96008204350d7f72653657b92069e /src/include/libpq
parente362d4e1eadd75f083dd0ed6a5304a0f057379fb (diff)
Clean up #include's.
Diffstat (limited to 'src/include/libpq')
-rw-r--r--src/include/libpq/hba.h6
-rw-r--r--src/include/libpq/libpq-be.h3
2 files changed, 4 insertions, 5 deletions
diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h
index 1a5021ad268..58c22331133 100644
--- a/src/include/libpq/hba.h
+++ b/src/include/libpq/hba.h
@@ -4,7 +4,7 @@
* Interface to hba.c
*
*
- * $Id: hba.h,v 1.17 2000/04/12 17:16:35 momjian Exp $
+ * $Id: hba.h,v 1.18 2000/06/15 03:32:42 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -13,8 +13,6 @@
#include <netinet/in.h>
-#include "libpq/pqcomm.h"
-
#define CONF_FILE "pg_hba.conf"
/* Name of the config file */
@@ -42,7 +40,7 @@ typedef enum UserAuth
typedef struct Port hbaPort;
-int hba_getauthmethod(hbaPort *port);
+int hba_getauthmethod(hbaPort *port);
int authident(struct sockaddr_in * raddr, struct sockaddr_in * laddr,
const char *postgres_username, const char *auth_arg);
diff --git a/src/include/libpq/libpq-be.h b/src/include/libpq/libpq-be.h
index 76403d495e0..3d5b2b0885a 100644
--- a/src/include/libpq/libpq-be.h
+++ b/src/include/libpq/libpq-be.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: libpq-be.h,v 1.19 2000/04/12 17:16:36 momjian Exp $
+ * $Id: libpq-be.h,v 1.20 2000/06/15 03:32:42 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,6 +18,7 @@
#include <sys/types.h>
#include "libpq/hba.h"
+#include "libpq/pqcomm.h"
#ifdef USE_SSL
#include <openssl/ssl.h>