diff --git a/src/libmongoc/CMakeLists.txt b/src/libmongoc/CMakeLists.txt index be0bfb2..6e295d6 100644 --- a/src/libmongoc/CMakeLists.txt +++ b/src/libmongoc/CMakeLists.txt @@ -206,7 +206,7 @@ endfunction() # Per-backend link libs/options: set(SecureTransport/LINK_LIBRARIES "-framework CoreFoundation" "-framework Security") set(SecureTransport/pkg_config_LIBS -framework Corefoundation -framework Security) -set(SecureChannel/LINK_LIBRARIES secur32.lib crypt32.lib Bcrypt.lib) +set(SecureChannel/LINK_LIBRARIES secur32.lib crypt32.lib bcrypt.lib) set(SecureChannel/pkg_config_LIBS ${SecureChannel/LINK_LIBRARIES}) set(LibreSSL/LINK_LIBRARIES LibreSSL::TLS LibreSSL::Crypto) set(LibreSSL/pkg_config_LIBS -ltls -lcrypto) @@ -357,7 +357,7 @@ function(_use_sasl libname) target_link_libraries(_mongoc-dependencies INTERFACE _mongoc-sasl_backend) install(TARGETS _mongoc-sasl_backend EXPORT mongoc-targets) if(libname STREQUAL "SSPI") - target_link_libraries(_mongoc-sasl_backend INTERFACE secur32.lib crypt32.lib Shlwapi.lib) + target_link_libraries(_mongoc-sasl_backend INTERFACE secur32.lib crypt32.lib shlwapi.lib) set(backend "SSPI") elseif(libname STREQUAL "CYRUS") find_package(SASL2 2.0 REQUIRED) diff --git a/src/libmongoc/src/mongoc/mongoc-client.c b/src/libmongoc/src/mongoc/mongoc-client.c index 80f15f8..28a0742 100644 --- a/src/libmongoc/src/mongoc/mongoc-client.c +++ b/src/libmongoc/src/mongoc/mongoc-client.c @@ -18,8 +18,8 @@ #include "mongoc-config.h" #ifdef MONGOC_HAVE_DNSAPI /* for DnsQuery_UTF8 */ -#include -#include +#include +#include #include #else #if defined(MONGOC_HAVE_RES_NSEARCH) || defined(MONGOC_HAVE_RES_SEARCH) diff --git a/src/libmongoc/src/mongoc/mongoc-socket.c b/src/libmongoc/src/mongoc/mongoc-socket.c index e417d7d..cccabf5 100644 --- a/src/libmongoc/src/mongoc/mongoc-socket.c +++ b/src/libmongoc/src/mongoc/mongoc-socket.c @@ -25,7 +25,7 @@ #include "mongoc-socket-private.h" #include "mongoc-trace-private.h" #ifdef _WIN32 -#include +#include #include #endif #include diff --git a/src/libmongoc/src/mongoc/mongoc-sspi-private.h b/src/libmongoc/src/mongoc/mongoc-sspi-private.h index a2df035..a1ade8a 100644 --- a/src/libmongoc/src/mongoc/mongoc-sspi-private.h +++ b/src/libmongoc/src/mongoc/mongoc-sspi-private.h @@ -28,7 +28,7 @@ BSON_BEGIN_DECLS #define SECURITY_WIN32 1 /* Required for SSPI */ -#include +#include #include #include #include