From 0138e546f4dbdae9531a796a690316a669b74edd Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 8 Mar 2007 14:58:45 +0000 Subject: [PATCH] include wx/thread.h in debug build which is needed after last change [backport from HEAD] git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/db.cpp | 2 ++ src/common/dbtable.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/common/db.cpp b/src/common/db.cpp index a881c22c4c..be855ba25c 100644 --- a/src/common/db.cpp +++ b/src/common/db.cpp @@ -62,6 +62,8 @@ wxChar const *SQL_LOG_FILENAME = wxT("sqllog.txt"); wxChar const *SQL_CATALOG_FILENAME = wxT("catalog.txt"); #ifdef __WXDEBUG__ + #include "wx/thread.h" + extern wxList TablesInUse; extern wxCriticalSection csTablesInUse; #endif diff --git a/src/common/dbtable.cpp b/src/common/dbtable.cpp index 4cc6885802..423c1b5a98 100644 --- a/src/common/dbtable.cpp +++ b/src/common/dbtable.cpp @@ -59,6 +59,8 @@ ULONG lastTableID = 0; #ifdef __WXDEBUG__ + #include "wx/thread.h" + wxList TablesInUse; wxCriticalSection csTablesInUse; #endif