include/curlinit.hxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit eb695e500adb70d84fcd8a5c230cc18b321ad49f Author: Eike Rathke <er...@redhat.com> AuthorDate: Sat Apr 27 11:08:31 2024 +0200 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Mon Apr 29 13:03:26 2024 +0200
Include config_crypto.h in curlinit.hxx Otherwise if only curlinit.hxx was included, SYSTEM_OPENSSL could had never been defined but opensslinit.hxx if SYSTEM_OPENSSL is defined does not declare/define GetCABundleFile() leading to error: ‘GetCABundleFile’ was not declared in this scope Happened from linguistic/source/translate.cxx:7 Apparently a regression already from commit 4ace291f2f1e655db559117f6fd3edc3a82ec878 CommitDate: Sat Nov 11 18:09:09 2023 +0100 curl: mitigate migration to OpenSSL on Linux Change-Id: I9c8f089ceb881dbb460d5bc5438152d1ce0ca7f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166775 Reviewed-by: Michael Stahl <michael.st...@allotropia.de> Tested-by: Jenkins diff --git a/include/curlinit.hxx b/include/curlinit.hxx index 2e4b09b4163a..082b553c9796 100644 --- a/include/curlinit.hxx +++ b/include/curlinit.hxx @@ -9,6 +9,8 @@ #pragma once +#include <config_crypto.h> + #include <curl/curl.h> // curl is built with --with-secure-transport on macOS and iOS so doesn't need these