#include "getopt_long.h"
#include "utils/pidfile.h"
+#ifdef WIN32 /* on Unix, we don't need libpq */
+#include "pqexpbuffer.h"
+#endif
+
/* PID can be negative for standalone backend */
typedef long pgpid_t;
# Set of variables for frontend modules
my $frontend_defines = { 'initdb' => 'FRONTEND' };
-my @frontend_uselibpq = ('pg_upgrade', 'pgbench', 'psql', 'initdb');
+my @frontend_uselibpq = ('pg_ctl', 'pg_upgrade', 'pgbench', 'psql', 'initdb');
my @frontend_uselibpgport = (
'pg_archivecleanup', 'pg_test_fsync',
'pg_test_timing', 'pg_upgrade',