Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a8a198b

Browse files
committed
Adjust headers to allow pgbench to be built with PGXS.
1 parent 660f532 commit a8a198b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

contrib/pgbench/pgbench.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* A simple benchmark program for PostgreSQL
55
* Originally written by Tatsuo Ishii and enhanced by many contributors.
66
*
7-
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.95 2010/01/06 01:12:14 itagaki Exp $
7+
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.96 2010/01/06 01:30:03 itagaki Exp $
88
* Copyright (c) 2000-2010, PostgreSQL Global Development Group
99
* ALL RIGHTS RESERVED;
1010
*
@@ -34,15 +34,12 @@
3434
#include "postgres_fe.h"
3535

3636
#include "libpq-fe.h"
37-
#include "pqsignal.h"
37+
#include "libpq/pqsignal.h"
3838
#include "portability/instr_time.h"
3939

4040
#include <ctype.h>
4141

42-
#ifdef WIN32
43-
#include <win32.h>
44-
#else
45-
#include <signal.h>
42+
#ifndef WIN32
4643
#include <sys/time.h>
4744
#include <unistd.h>
4845
#endif /* ! WIN32 */

0 commit comments

Comments
 (0)