Commit 8e86c46b authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Add storage/ipc.h include file to get read/write function declarations.

parent c47eaac9
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.26 1997/11/10 05:15:56 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.27 1997/11/17 16:17:14 thomas Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
#include <libpq/pqsignal.h> #include <libpq/pqsignal.h>
#include <libpq/auth.h> #include <libpq/auth.h>
#include <libpq/libpq.h> /* where the declarations go */ #include <libpq/libpq.h> /* where the declarations go */
#include <storage/ipc.h>
/* ---------------- /* ----------------
* declarations * declarations
...@@ -595,7 +596,7 @@ StreamServerPort(char *hostName, short portName, int *fdP) ...@@ -595,7 +596,7 @@ StreamServerPort(char *hostName, short portName, int *fdP)
size_t len; size_t len;
int one = 1; int one = 1;
family = hostName != NULL ? AF_INET : AF_UNIX; family = ((hostName != NULL) ? AF_INET : AF_UNIX);
if ((fd = socket(family, SOCK_STREAM, 0)) < 0) if ((fd = socket(family, SOCK_STREAM, 0)) < 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment