aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-01-06 05:33:45 +0000
committerBruce Momjian <bruce@momjian.us>2003-01-06 05:33:45 +0000
commit2d5e27c637c9a956f33b4f805cebd2a94a9d9ce3 (patch)
tree2cd315cc640b3d2940de385ab0a7a332d4f73cd4 /src
parentc3e9699f212050b0c8bdf3772eeaaffa3c3596cd (diff)
downloadpostgresql-2d5e27c637c9a956f33b4f805cebd2a94a9d9ce3.tar.gz
postgresql-2d5e27c637c9a956f33b4f805cebd2a94a9d9ce3.zip
Add prototype for getaddrinfo().
Diffstat (limited to 'src')
-rw-r--r--src/include/libpq/pqcomm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/libpq/pqcomm.h b/src/include/libpq/pqcomm.h
index 88f2d08bbc6..32bd1873ec1 100644
--- a/src/include/libpq/pqcomm.h
+++ b/src/include/libpq/pqcomm.h
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pqcomm.h,v 1.73 2003/01/06 03:18:27 momjian Exp $
+ * $Id: pqcomm.h,v 1.74 2003/01/06 05:33:45 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -26,6 +26,7 @@
#endif
#else /* not WIN32 */
#include <sys/socket.h>
+#include <netdb.h>
#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
#endif