diff --git a/src/interfaces/libpq/win32.c b/src/interfaces/libpq/win32.c index fce0d3f26b5..bd48b2d2cdf 100644 --- a/src/interfaces/libpq/win32.c +++ b/src/interfaces/libpq/win32.c @@ -19,8 +19,6 @@ /* Make stuff compile faster by excluding not used stuff */ -#define WIN32_LEAN_AND_MEAN -#define WIN32_EXTRA_LEAN #define VC_EXTRALEAN #ifndef __MINGW32__ #define NOGDI @@ -31,6 +29,9 @@ #include #include #include "win32.h" +#include "postgres_fe.h" +#include "libpq-fe.h" +#include "libpq-int.h" static struct WSErrorEntry {