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.
This commit is contained in:
Max Lv
2026-10-14 22:53:07 +08:00
parent 8cf10ba890
commit 503f0f1936
+3 -2
View File
@@ -10,10 +10,11 @@
#include <sodium.h>
#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