--- E:\pgsql\src\interfaces\libpq\libpq-int.h Thu Jan 1 16:24:03 2009 UTC +++ E:\pgsql\src\interfaces\libpq\libpq-int.h Sat Apr 18 08:41:07 2009 UTC @@ -55,6 +55,9 @@ #ifdef ENABLE_SSPI #define SECURITY_WIN32 +#if defined(WIN32) && !defined(WIN32_ONLY_COMPILER) +#include +#endif #include #undef SECURITY_WIN32