Commit 5c75ff2a authored by Tom Lane's avatar Tom Lane

Include libpq/pqcomm.h to ensure we have correct knowledge of

HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN.  Per results of pgcheckdefines.
parent 93120f35
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* platform, we'll need to split this file and provide a separate configure * platform, we'll need to split this file and provide a separate configure
* test for getnameinfo(). * test for getnameinfo().
* *
* Windows may or may not have these routines, so we handle Windows special * Windows may or may not have these routines, so we handle Windows specially
* by dynamically checking for their existence. If they already exist, we * by dynamically checking for their existence. If they already exist, we
* use the Windows native routines, but if not, we use our own. * use the Windows native routines, but if not, we use our own.
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* Copyright (c) 2003-2006, PostgreSQL Global Development Group * Copyright (c) 2003-2006, PostgreSQL Global Development Group
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/port/getaddrinfo.c,v 1.24 2006/06/07 22:24:46 momjian Exp $ * $PostgreSQL: pgsql/src/port/getaddrinfo.c,v 1.25 2006/07/16 20:28:01 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <arpa/inet.h> #include <arpa/inet.h>
#include "getaddrinfo.h" #include "getaddrinfo.h"
#include "libpq/pqcomm.h" /* needed for struct sockaddr_storage */
#ifdef WIN32 #ifdef WIN32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment