diff options
Diffstat (limited to 'plugins/Dbx_sqlite/src/stdafx.h')
-rw-r--r-- | plugins/Dbx_sqlite/src/stdafx.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/Dbx_sqlite/src/stdafx.h b/plugins/Dbx_sqlite/src/stdafx.h index edeed11711..9cb2103537 100644 --- a/plugins/Dbx_sqlite/src/stdafx.h +++ b/plugins/Dbx_sqlite/src/stdafx.h @@ -1,20 +1,19 @@ #pragma once #include <windows.h> -#include <sqlite3.h> - -#include <memory> - #include <malloc.h> -#include <win2k.h> -#include <assert.h> +#include <crtdbg.h> #include <newpluginapi.h> #include <m_crypto.h> #include <m_database.h> +#include <m_gui.h> +#include <m_netlib.h> #include <m_protocols.h> #include <m_metacontacts.h> +#include <sqlite3.h> + #include "dbintf.h" #include "resource.h" #include "version.h" @@ -25,6 +24,8 @@ struct CQuery sqlite3_stmt *pQuery; }; +void logError(int rc, const char *szFile = __FILE__, int line = __LINE__); + ///////////////////////////////////////////////////////////////////////////////////////// constexpr auto SQLITE_HEADER_STR = "SQLite format 3"; |