diff options
author | Tom Lane | 2006-07-16 20:28:01 +0000 |
---|---|---|
committer | Tom Lane | 2006-07-16 20:28:01 +0000 |
commit | a681a70ad01fa42aee3046cd7c9031855a123062 (patch) | |
tree | 13c3f13dcd3aaede6c1703f55d885b3337b253e7 | |
parent | a0161fe68b7784f4e72340c6edeadcd6d2c4ee1b (diff) |
Include libpq/pqcomm.h to ensure we have correct knowledge of
HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN. Per results of pgcheckdefines.
-rw-r--r-- | src/port/getaddrinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/port/getaddrinfo.c b/src/port/getaddrinfo.c index 2976072a1c..cbeec5f17e 100644 --- a/src/port/getaddrinfo.c +++ b/src/port/getaddrinfo.c @@ -8,7 +8,7 @@ * platform, we'll need to split this file and provide a separate configure * 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 * use the Windows native routines, but if not, we use our own. * @@ -30,6 +30,7 @@ #include <arpa/inet.h> #include "getaddrinfo.h" +#include "libpq/pqcomm.h" /* needed for struct sockaddr_storage */ #ifdef WIN32 |