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.
This commit is contained in:
Max Lv
2026-10-14 22:53:08 +08:00
parent f92f578cce
commit ca359160b2
+4 -3
View File
@@ -10,12 +10,13 @@
#include <sodium.h>
#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