From 28475f8e58bd5da2b44a42203665a543f335c6a3 Mon Sep 17 00:00:00 2001
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: Wed, 26 Mar 2014 15:25:39 +0200
Subject: [PATCH] Use pg_usleep() instead of plain sleep(), to fix Windows
 build

Per buildfarm.
---
 contrib/pg_xlogdump/pg_xlogdump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/pg_xlogdump/pg_xlogdump.c b/contrib/pg_xlogdump/pg_xlogdump.c
index e947696429d..3fb9099649d 100644
--- a/contrib/pg_xlogdump/pg_xlogdump.c
+++ b/contrib/pg_xlogdump/pg_xlogdump.c
@@ -705,7 +705,7 @@ main(int argc, char **argv)
 				break;
 			else
 			{
-				sleep(1);
+				pg_usleep(1000000L);		/* 1 second */
 				continue;
 			}
 		}
-- 
GitLab