mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Move some includes around to try to fix windows builds
This commit is contained in:
parent
bd153e4640
commit
2d07aef3cc
2 changed files with 5 additions and 3 deletions
|
@ -14,13 +14,13 @@
|
|||
#ifndef CRYPTO_RAND_PRIVATE
|
||||
#define CRYPTO_RAND_PRIVATE
|
||||
|
||||
#include "crypto_rand.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#include <wincrypt.h>
|
||||
#endif /* defined(_WIN32) */
|
||||
|
||||
#include "crypto_rand.h"
|
||||
|
||||
#include "container.h"
|
||||
#include "compat.h"
|
||||
#include "compat_openssl.h"
|
||||
|
|
|
@ -13,14 +13,16 @@
|
|||
#ifndef CRYPTO_UTIL_PRIVATE
|
||||
#define CRYPTO_UTIL_PRIVATE
|
||||
|
||||
#include "crypto_util.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
#include <wincrypt.h>
|
||||
#endif /* defined(_WIN32) */
|
||||
|
||||
#include "crypto_util.h"
|
||||
#include "util.h"
|
||||
|
||||
DISABLE_GCC_WARNING(redundant-decls)
|
||||
|
|
Loading…
Add table
Reference in a new issue