postgres.git / summary / log / commit / refs

commit    a8a198b10b11ed9fc959ab4582ee7dc8d97433ea
Author:   Itagaki Takahiro <itagaki.takahiro@gmail.com>
Date:     Wed Jan 06 01:30:03 2010 +0000
First released in: 9.0.0

    Adjust headers to allow pgbench to be built with PGXS.


contrib/pgbench/pgbench.c | 9 +++------ 1 file 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 */ [parent: 660f532898f4]