mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 09:46:52 -05:00
[refactor] Remove compat.h from kernel headers
This commit makes compat.h no longer a required include for users of the libbitcoinkernel. Including compat.h imports a bunch of platform-specific definitions. This commit is part of the libbitcoinkernel project, namely its stage 1 step 3: Decouple most non-consensus headers from libbitcoinkernel.
This commit is contained in:
parent
36193af47c
commit
d506765199
3 changed files with 2 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <random.h>
|
||||
|
||||
#include <compat/compat.h>
|
||||
#include <compat/cpuid.h>
|
||||
#include <crypto/chacha20.h>
|
||||
#include <crypto/sha256.h>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include <randomenv.h>
|
||||
|
||||
#include <clientversion.h>
|
||||
#include <compat/compat.h>
|
||||
#include <compat/cpuid.h>
|
||||
#include <crypto/sha512.h>
|
||||
#include <support/cleanse.h>
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
#ifndef BITCOIN_UTIL_TIME_H
|
||||
#define BITCOIN_UTIL_TIME_H
|
||||
|
||||
#include <compat/compat.h>
|
||||
|
||||
#include <chrono> // IWYU pragma: export
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
|
Loading…
Add table
Reference in a new issue