From: Václav Slavík Date: Sat, 2 Aug 2003 16:27:21 +0000 (+0000) Subject: compilation fix for gcc X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/190869b2f5db72d5c9cc4115af47de54097f73a4 compilation fix for gcc git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/db.h b/include/wx/db.h index 1b8e9acdaf..f64b24d699 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -52,7 +52,7 @@ #include "wx/defs.h" #include "wx/string.h" -#ifdef __VISUALC__ +#if defined(__VISUALC__) // we need to include standard Windows headers but we can't include // directly when using MFC because it includes it itself in a // different manner @@ -77,6 +77,10 @@ #include "sqlext.h" #include "odbcinst.h" #else + #if defined(__WINDOWS__) && defined(HAVE_W32API_H) + #include + #include "wx/msw/winundef.h" + #endif // Use the ones from the library extern "C" { #include