Skip to content

Commit 2d5e27c

Browse files
committed
Add prototype for getaddrinfo().
1 parent c3e9699 commit 2d5e27c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/include/libpq/pqcomm.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
1010
* Portions Copyright (c) 1994, Regents of the University of California
1111
*
12-
* $Id: pqcomm.h,v 1.73 2003/01/06 03:18:27 momjian Exp $
12+
* $Id: pqcomm.h,v 1.74 2003/01/06 05:33:45 momjian Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -26,6 +26,7 @@
2626
#endif
2727
#else /* not WIN32 */
2828
#include <sys/socket.h>
29+
#include <netdb.h>
2930
#ifdef HAVE_SYS_UN_H
3031
#include <sys/un.h>
3132
#endif

0 commit comments

Comments
 (0)