diff --git a/coreapi/call_log.c b/coreapi/call_log.c index 43b4d4c44..0933612b3 100644 --- a/coreapi/call_log.c +++ b/coreapi/call_log.c @@ -21,14 +21,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include -#if defined(SQLITE_STORAGE_ENABLED) && !defined(_WIN32) && !defined(__ANDROID__) && !defined(__QNXNTO__) - #include - #include - #include -#endif +#ifdef SQLITE_STORAGE_ENABLED + #if defined(_WIN32) && !defined(__ANDROID__) && !defined(__QNXNTO__) + #include + #include + #include + #endif -#define MAX_PATH_SIZE 1024 #include "sqlite3.h" + + #define MAX_PATH_SIZE 1024 #endif #include "c-wrapper/c-wrapper.h"