]> granicus.if.org Git - postgresql/commitdiff
Adjust headers to allow pgbench to be built with PGXS.
authorItagaki Takahiro <itagaki.takahiro@gmail.com>
Wed, 6 Jan 2010 01:30:03 +0000 (01:30 +0000)
committerItagaki Takahiro <itagaki.takahiro@gmail.com>
Wed, 6 Jan 2010 01:30:03 +0000 (01:30 +0000)
contrib/pgbench/pgbench.c

index 60c08dc58a00235e4908885e6ae57f7337417f86..b38086490a45a4e5f26640fd8e1ebec365584b06 100644 (file)
@@ -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;
  *
 #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 */