Skip to content

Commit fa1a384

Browse files
author
MarcoFalke
committed
Move compat.h include from system.h to system.cpp
1 parent 8888753 commit fa1a384

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/common/system.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) 2009-2010 Satoshi Nakamoto
2-
// Copyright (c) 2009-2022 The Bitcoin Core developers
2+
// Copyright (c) 2009-present The Bitcoin Core developers
33
// Distributed under the MIT software license, see the accompanying
44
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55

@@ -12,6 +12,7 @@
1212
#ifndef WIN32
1313
#include <sys/stat.h>
1414
#else
15+
#include <compat/compat.h>
1516
#include <codecvt>
1617
#endif
1718

src/common/system.h

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) 2009-2010 Satoshi Nakamoto
2-
// Copyright (c) 2009-2022 The Bitcoin Core developers
2+
// Copyright (c) 2009-present The Bitcoin Core developers
33
// Distributed under the MIT software license, see the accompanying
44
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55

@@ -10,10 +10,7 @@
1010
#include <config/bitcoin-config.h>
1111
#endif
1212

13-
#include <compat/compat.h>
14-
15-
#include <set>
16-
#include <stdint.h>
13+
#include <cstdint>
1714
#include <string>
1815

1916
// Application startup time (used for uptime calculation)

0 commit comments

Comments
 (0)