diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 25f864e0fb..d86e6e34e4 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -190,7 +190,7 @@ if (NOT OPENSSL_FOUND) set(LIBRESSL_SKIP_INSTALL ON CACHE BOOL "") set(OPENSSLDIR "/etc/ssl/") add_subdirectory(libressl EXCLUDE_FROM_ALL) - target_include_directories(ssl INTERFACE ./libressl/include) + target_include_directories(ssl SYSTEM INTERFACE ./libressl/include) target_compile_definitions(ssl PRIVATE -DHAVE_INET_NTOP) get_directory_property(OPENSSL_LIBRARIES DIRECTORY libressl diff --git a/src/core/hle/service/http/http_c.h b/src/core/hle/service/http/http_c.h index aaaf7f4439..722e5e93ae 100644 --- a/src/core/hle/service/http/http_c.h +++ b/src/core/hle/service/http/http_c.h @@ -20,14 +20,7 @@ #if defined(__ANDROID__) #include #endif -#if defined(_WIN32) && !defined(_MSC_VER) -#pragma GCC diagnostic push -#pragma GCC diagnostic warning "-Werror" -#endif #include -#if defined(_WIN32) && !defined(_MSC_VER) -#pragma GCC diagnostic pop -#endif #include "core/hle/ipc_helpers.h" #include "core/hle/kernel/shared_memory.h" #include "core/hle/service/service.h"