[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:
TheCharlatan
2023-09-07 09:03:04 +02:00
parent 36193af47c
commit d506765199
3 changed files with 2 additions and 2 deletions

View File

@@ -5,6 +5,7 @@
#include <random.h>
#include <compat/compat.h>
#include <compat/cpuid.h>
#include <crypto/chacha20.h>
#include <crypto/sha256.h>