From 190869b2f5db72d5c9cc4115af47de54097f73a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 2 Aug 2003 16:27:21 +0000 Subject: [PATCH] compilation fix for gcc git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/db.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.45.2