summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian1997-01-14 01:56:44 +0000
committerBruce Momjian1997-01-14 01:56:44 +0000
commit42efa28cf7b62070961d72e97332c1e257a4a7b7 (patch)
tree3936234c2ed8fc6a675a5fee36bd2a6565f58ea0 /src
parente3c4ac15d36f5f7c2ed2a7c8d4781cb32391d05e (diff)
There are two prototypes for inet_aton, one in include/inet_aton.h, and
another one in Solaris' port-protos.h. The following patch will bring inet_aton's prototype into scope for Ultrix to silence a compilation warning. If the intention is to have inet_aton's prototype in its own header filer, the declaration in Solaris' port-protos.h should be removed. If the declaration in port-protos.h is deemed to be the correct place, a declaration should be added in Ultrix' port-protos.h regards Erik Bertelsen
Diffstat (limited to 'src')
-rw-r--r--src/backend/libpq/hba.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c
index 2dd44a97bfa..4bdf497a759 100644
--- a/src/backend/libpq/hba.c
+++ b/src/backend/libpq/hba.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.14 1997/01/10 17:39:29 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.15 1997/01/14 01:56:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -27,7 +27,7 @@
#include <libpq/libpq.h>
#include <libpq/pqcomm.h>
#include <libpq/hba.h>
-#include <port-protos.h> /* For inet_aton() */
+#include <port/inet_aton.h> /* For inet_aton() */
#define CONF_FILE "pg_hba.conf"