Include C++ headers before crypto.h in test_crypto_aead_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:51:57 +08:00
parent 0ff1fa6d66
commit ab365b8fff
+4 -3
View File
@@ -10,12 +10,13 @@
#include <sodium.h>
#include "crypto.h"
#include "crypto/aead.hpp"
#include "netutils.h"
#include "ppbloom.h"
#include "alloc_audit/alloc_probe.hpp"
#include "test_helpers.hpp"
#include "crypto.h"
#include "netutils.h"
#include "ppbloom.h"
#include "utils.h"
#undef min