*** pgbench/pgbench.c.orig Mon Jul 16 07:34:26 2007 --- pgbench/pgbench.c Tue Aug 7 16:45:56 2007 *************** *** 17,31 **** * suitability of this software for any purpose. It is provided "as * is" without express or implied warranty. */ #include "postgres_fe.h" #include "libpq-fe.h" #include - - #ifdef WIN32 - #include "win32.h" - #else #include #include --- 17,33 ---- * suitability of this software for any purpose. It is provided "as * is" without express or implied warranty. */ + + #ifdef EXEC_BACKEND + #undef EXEC_BACKEND + #endif + #define FRONTEND 1 + #include "postgres_fe.h" #include "libpq-fe.h" #include #include #include *************** *** 40,54 **** #ifdef HAVE_SYS_RESOURCE_H #include /* for getrlimit */ #endif - #endif /* ! WIN32 */ extern char *optarg; extern int optind; - - #ifdef WIN32 - #undef select - #endif - /******************************************************************** * some configurable parameters */ --- 42,50 ----