diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c
index c005ef51a13cfe2029db250dbb93bd89ab8b57b4..1b3d6bb09e0c00f1770ff9bfb36d851f750249e4 100644
--- a/contrib/pgbench/pgbench.c
+++ b/contrib/pgbench/pgbench.c
@@ -1,5 +1,5 @@
 /*
- * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.41 2005/10/07 15:31:49 tgl Exp $
+ * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.42 2005/10/07 15:34:17 tgl Exp $
  *
  * pgbench: a simple benchmark program for PostgreSQL
  * written by Tatsuo Ishii
@@ -21,6 +21,8 @@
 
 #include "libpq-fe.h"
 
+#include <ctype.h>
+
 #ifdef WIN32
 #include "win32.h"
 #else
@@ -39,8 +41,6 @@
 #include <sys/resource.h>
 #endif   /* ! WIN32 */
 
-#include <ctype.h>
-
 extern char *optarg;
 extern int	optind;