From a8a198b10b11ed9fc959ab4582ee7dc8d97433ea Mon Sep 17 00:00:00 2001 From: Itagaki Takahiro <itagaki.takahiro@gmail.com> Date: Wed, 6 Jan 2010 01:30:03 +0000 Subject: [PATCH] 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 */ -- GitLab