]> granicus.if.org Git - postgresql/commitdiff
Add prototype for getaddrinfo().
authorBruce Momjian <bruce@momjian.us>
Mon, 6 Jan 2003 05:33:45 +0000 (05:33 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 6 Jan 2003 05:33:45 +0000 (05:33 +0000)
src/include/libpq/pqcomm.h

index 88f2d08bbc641523532afbf164acec5a129b6aa7..32bd1873ec1db7ec3c22e52127988cb37fccff31 100644 (file)
@@ -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