diff --git a/src/bin/pg_dump/parallel.c b/src/bin/pg_dump/parallel.c
new file mode 100644
index caedbb8..cd6ef7a
*** a/src/bin/pg_dump/parallel.c
--- b/src/bin/pg_dump/parallel.c
***************
*** 36,42 ****
  #ifdef WIN32
  static unsigned int tMasterThreadId = 0;
  static HANDLE termEvent = INVALID_HANDLE_VALUE;
! static int	pgpipe(int handles[2]);
  static int	piperead(int s, char *buf, int len);
  
  /*
--- 36,42 ----
  #ifdef WIN32
  static unsigned int tMasterThreadId = 0;
  static HANDLE termEvent = INVALID_HANDLE_VALUE;
! static int	pgpipe(SOCKET handles[2]);
  static int	piperead(int s, char *buf, int len);
  
  /*
*************** readMessageFromPipe(int fd)
*** 1323,1329 ****
   * with recv/send.
   */
  static int
! pgpipe(int handles[2])
  {
  	SOCKET		s;
  	struct sockaddr_in serv_addr;
--- 1323,1329 ----
   * with recv/send.
   */
  static int
! pgpipe(SOCKET handles[2])
  {
  	SOCKET		s;
  	struct sockaddr_in serv_addr;
