include/curlinit.hxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 38644bae76028d1396a3e4616a2905da1c06a270
Author:     Eike Rathke <er...@redhat.com>
AuthorDate: Sat Apr 27 11:08:31 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon May 6 19:24:00 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
    (cherry picked from commit eb695e500adb70d84fcd8a5c230cc18b321ad49f)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166836
    Tested-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

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

Reply via email to