aboutsummaryrefslogtreecommitdiff
path: root/contrib/pg_test_fsync/pg_test_fsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pg_test_fsync/pg_test_fsync.c')
-rw-r--r--contrib/pg_test_fsync/pg_test_fsync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/pg_test_fsync/pg_test_fsync.c b/contrib/pg_test_fsync/pg_test_fsync.c
index 305b3d0723d..2b2e292022a 100644
--- a/contrib/pg_test_fsync/pg_test_fsync.c
+++ b/contrib/pg_test_fsync/pg_test_fsync.c
@@ -359,9 +359,11 @@ test_open_syncs(void)
static void
test_open_sync(const char *msg, int writes_size)
{
+#ifdef OPEN_SYNC_FLAG
int tmpfile,
ops,
writes;
+#endif
printf(LABEL_FORMAT, msg);
fflush(stdout);