aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorTheCharlatan <seb.kung@gmail.com>2023-09-07 09:03:04 +0200
committerTheCharlatan <seb.kung@gmail.com>2023-09-12 22:51:48 +0200
commitd5067651991f3e6daf456ba13c7036ddc4545352 (patch)
tree755feeedc36567d81e3ccb04bd9ec4a517666f7b /src/util
parent36193af47c8dcff53e59498c416b85b59e0d0f91 (diff)
downloadbitcoin-d5067651991f3e6daf456ba13c7036ddc4545352.tar.xz
[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.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/time.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/time.h b/src/util/time.h
index b6aab615ba..6aa776137c 100644
--- a/src/util/time.h
+++ b/src/util/time.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>