From 2d5e27c637c9a956f33b4f805cebd2a94a9d9ce3 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Mon, 6 Jan 2003 05:33:45 +0000
Subject: [PATCH] Add prototype for getaddrinfo().

---
 src/include/libpq/pqcomm.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/include/libpq/pqcomm.h b/src/include/libpq/pqcomm.h
index 88f2d08bbc..32bd1873ec 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