*
*
* 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 $
*
*-------------------------------------------------------------------------
*/
#include <libpq/pqsignal.h>
#include <libpq/auth.h>
#include <libpq/libpq.h> /* where the declarations go */
+#include <storage/ipc.h>
/* ----------------
* declarations
size_t len;
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)
{