From ca359160b2c9b9470884a0bc7dcd52ed359a5243 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Wed, 14 Oct 2026 21:38:13 +0800 Subject: [PATCH] Include C++ headers before crypto.h in test_crypto_aead2022_cpp.cpp crypto.h defines min/max macros for the C sources; libstdc++ headers included after it fail to parse. --- tests/test_crypto_aead2022_cpp.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test_crypto_aead2022_cpp.cpp b/tests/test_crypto_aead2022_cpp.cpp index e39c7890..39610154 100644 --- a/tests/test_crypto_aead2022_cpp.cpp +++ b/tests/test_crypto_aead2022_cpp.cpp @@ -10,12 +10,13 @@ #include -#include "aead.h" #include "alloc_audit/alloc_probe.hpp" -#include "crypto.h" #include "crypto/aead2022.hpp" -#include "ppbloom.h" #include "test_helpers.hpp" + +#include "aead.h" +#include "crypto.h" +#include "ppbloom.h" #include "utils.h" #undef min