summaryrefslogtreecommitdiff
path: root/contrib/pgbench/pgbench.c
diff options
context:
space:
mode:
authorItagaki Takahiro2010-01-06 01:30:03 +0000
committerItagaki Takahiro2010-01-06 01:30:03 +0000
commita8a198b10b11ed9fc959ab4582ee7dc8d97433ea (patch)
treea4518b107c594d05a0c1c3c40e8ee62c6ed9dccb /contrib/pgbench/pgbench.c
parent660f532898f4f53a9df26296173268ba073ae8fb (diff)
Adjust headers to allow pgbench to be built with PGXS.
Diffstat (limited to 'contrib/pgbench/pgbench.c')
-rw-r--r--contrib/pgbench/pgbench.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c
index 60c08dc58a0..b38086490a4 100644
--- a/contrib/pgbench/pgbench.c
+++ b/contrib/pgbench/pgbench.c
@@ -4,7 +4,7 @@
* A simple benchmark program for PostgreSQL
* Originally written by Tatsuo Ishii and enhanced by many contributors.
*
- * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.95 2010/01/06 01:12:14 itagaki Exp $
+ * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.96 2010/01/06 01:30:03 itagaki Exp $
* Copyright (c) 2000-2010, PostgreSQL Global Development Group
* ALL RIGHTS RESERVED;
*
@@ -34,15 +34,12 @@
#include "postgres_fe.h"
#include "libpq-fe.h"
-#include "pqsignal.h"
+#include "libpq/pqsignal.h"
#include "portability/instr_time.h"
#include <ctype.h>
-#ifdef WIN32
-#include <win32.h>
-#else
-#include <signal.h>
+#ifndef WIN32
#include <sys/time.h>
#include <unistd.h>
#endif /* ! WIN32 */