Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5c75ff2

Browse files
committed
Include libpq/pqcomm.h to ensure we have correct knowledge of
HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN. Per results of pgcheckdefines.
1 parent 93120f3 commit 5c75ff2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/port/getaddrinfo.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
* platform, we'll need to split this file and provide a separate configure
99
* test for getnameinfo().
1010
*
11-
* Windows may or may not have these routines, so we handle Windows special
11+
* Windows may or may not have these routines, so we handle Windows specially
1212
* by dynamically checking for their existence. If they already exist, we
1313
* use the Windows native routines, but if not, we use our own.
1414
*
1515
*
1616
* Copyright (c) 2003-2006, PostgreSQL Global Development Group
1717
*
1818
* IDENTIFICATION
19-
* $PostgreSQL: pgsql/src/port/getaddrinfo.c,v 1.24 2006/06/07 22:24:46 momjian Exp $
19+
* $PostgreSQL: pgsql/src/port/getaddrinfo.c,v 1.25 2006/07/16 20:28:01 tgl Exp $
2020
*
2121
*-------------------------------------------------------------------------
2222
*/
@@ -30,6 +30,7 @@
3030
#include <arpa/inet.h>
3131

3232
#include "getaddrinfo.h"
33+
#include "libpq/pqcomm.h" /* needed for struct sockaddr_storage */
3334

3435

3536
#ifdef WIN32

0 commit comments

Comments
 (0)