mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-21 06:23:52 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user