aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Zhu <[email protected]>2026-08-06 09:07:35 +0200
committerTomas Mraz <[email protected]>2026-10-02 10:21:06 +0200
commit7703644762ebebc2d2e77d3a286ca021a0798e0a (patch)
treea992a56691dc6349b15cc134b7e09d29bd16b8f3
parentdoc: move OPENSSL_RUNNING_UNIT_TESTS out of OPENSSL_TRACE (diff)
downloadopenssl-7703644762ebebc2d2e77d3a286ca021a0798e0a.tar.gz
openssl-7703644762ebebc2d2e77d3a286ca021a0798e0a.zip
LoongArch: Include internal/cryptlib.h in loongarchcap.c
It declares OPENSSL_cpuid_setup(). Without it, a --strict-warnings build fails with -Werror=missing-prototypes. Fixes #32984 Signed-off-by: Julian Zhu <[email protected]> Reviewed-by: Mounir Idrassi <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> Merge-date: Fri Oct 2 08:19:33 2026 Merged-from: https://github.com/openssl/openssl/pull/32985 (cherry picked from commit d91e23d7663db115676ebd0d7b789011b551e915)
-rw-r--r--crypto/loongarchcap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/loongarchcap.c b/crypto/loongarchcap.c
index 5375eb3655a..832540fcf43 100644
--- a/crypto/loongarchcap.c
+++ b/crypto/loongarchcap.c
@@ -7,6 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include <sys/auxv.h>
+#include "internal/cryptlib.h"
#include "loongarch_arch.h"
unsigned int OPENSSL_loongarch_hwcap_P = 0;