diff --git a/contrib/pg_standby/pg_standby.c b/contrib/pg_standby/pg_standby.c index ef732aa0753..98d04c26f07 100644 --- a/contrib/pg_standby/pg_standby.c +++ b/contrib/pg_standby/pg_standby.c @@ -27,7 +27,6 @@ #include #ifdef WIN32 -#include "win32.h" int getopt(int argc, char * const argv[], const char *optstring); #else #include diff --git a/src/tools/msvc/mkvcbuild.pl b/src/tools/msvc/mkvcbuild.pl index c2ef233d7cb..19d1bc54c2f 100644 --- a/src/tools/msvc/mkvcbuild.pl +++ b/src/tools/msvc/mkvcbuild.pl @@ -162,7 +162,7 @@ my $contrib_defines = { 'refint' => 'REFINT_VERBOSE' }; my @contrib_uselibpq = ('dblink', 'oid2name', 'pgbench', 'vacuumlo'); -my @contrib_uselibpgport = ('oid2name', 'pgbench', 'vacuumlo'); +my @contrib_uselibpgport = ('oid2name', 'pgbench', 'pg_standby', 'vacuumlo'); my $contrib_extralibs = { 'pgbench' => ['wsock32.lib'] };