index 247b80ba25e3ef7ed9987e9136b05e7ecc2102bb..2ee4a689ae8617ae34ca97ae83a4e5de3c566af1 100644 (file)
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.95 2003年01月06日 03:18:26 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.96 2003年01月06日 09:58:23 petere Exp $
*
*-------------------------------------------------------------------------
*/
#include "libpq/hba.h"
#include "libpq/libpq.h"
#include "libpq/password.h"
+#include "libpq/pqcomm.h"
#include "libpq/pqformat.h"
#include "miscadmin.h"
#include "storage/ipc.h"
index 904afb3b8fd645cf07fbeddb3587a5ef4849c044..af5b4af3e4cdef25faa1c2bacf27c87bc3b4d0a6 100644 (file)
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pqcomm.c,v 1.144 2003年01月06日 03:18:26 momjian Exp $
+ * $Id: pqcomm.c,v 1.145 2003年01月06日 09:58:23 petere Exp $
*
*-------------------------------------------------------------------------
*/
#include <sys/stat.h>
#include <sys/socket.h>
#include <netdb.h>
-#include <netinet/in.h>
#ifdef HAVE_NETINET_TCP_H
#include <netinet/tcp.h>
#endif
index e237d00ca7f0a1c31ecc59350ab0b201b4828c96..77436002c9d11df76b0547b0f3f219cb9bac66ff 100644 (file)
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.302 2003年01月06日 03:18:27 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.303 2003年01月06日 09:58:36 petere Exp $
*
* NOTES
*
#include <fcntl.h>
#include <time.h>
#include <sys/param.h>
-#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <limits.h>
index 32bd1873ec1db7ec3c22e52127988cb37fccff31..7c476699f0648be2884d05425758792105a7d91b 100644 (file)
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pqcomm.h,v 1.74 2003年01月06日 05:33:45 momjian Exp $
+ * $Id: pqcomm.h,v 1.75 2003年01月06日 09:58:36 petere Exp $
*
*-------------------------------------------------------------------------
*/
#endif /* not WIN32 */
+#ifndef INET_ADDRSTRLEN
+#define INET_ADDRSTRLEN 16
+#endif
+
+#ifndef INET6_ADDRSTRLEN
+#define INET6_ADDRSTRLEN 46
+#endif
+
+
#ifndef HAVE_STRUCT_SOCKADDR_UN
struct sockaddr_un
{