diff --git a/CMakeLists.txt b/CMakeLists.txt index 85e575ada73a66ca7c61ea320ce321898b4a332b..6ba3373e85b84a7d70baecf34f84e99510e13e26 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,6 @@ if(WIN32) include_directories(../3rdparty/wepoll/include/) include_directories(../3rdparty/uthash/src/) include_directories(../3rdparty/libjson-c/) - include_directories(../3rdparty/libmagic/src/) include_directories(../3rdparty/curl/include/) include_directories(../3rdparty/libsqlite3/) endif() diff --git a/dap_chain_global_db.c b/dap_chain_global_db.c index 0d173f22c3ad69bf9cf0ab100017678f3c60612a..4f05745f3d07f16cd45f924c96d9472c362ebc0a 100755 --- a/dap_chain_global_db.c +++ b/dap_chain_global_db.c @@ -27,7 +27,7 @@ #include <pthread.h> #include <time.h> #include <assert.h> -#include <string.h> +//#include <string.h> #include "uthash.h" @@ -39,6 +39,7 @@ #ifdef WIN32 #include "registry.h" +#include <string.h> #endif #ifndef MAX_PATH