]> granicus.if.org Git - postgresql/commitdiff
There are two prototypes for inet_aton, one in include/inet_aton.h, and
authorBruce Momjian <bruce@momjian.us>
Tue, 14 Jan 1997 01:56:44 +0000 (01:56 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 14 Jan 1997 01:56:44 +0000 (01:56 +0000)
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

src/backend/libpq/hba.c

index 2dd44a97bfaa7b16a2fea7d131968d84b56ec9c4..4bdf497a759743d2ac4318a37d939c56244eee1c 100644 (file)
@@ -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"