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