Skip to content

Commit

Permalink
Move compat.h include from system.h to system.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Oct 16, 2023
1 parent 8888753 commit fa1a384
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/common/system.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2022 The Bitcoin Core developers
// Copyright (c) 2009-present The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

Expand All @@ -12,6 +12,7 @@
#ifndef WIN32
#include <sys/stat.h>
#else
#include <compat/compat.h>
#include <codecvt>
#endif

Expand Down
7 changes: 2 additions & 5 deletions src/common/system.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2022 The Bitcoin Core developers
// Copyright (c) 2009-present The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

Expand All @@ -10,10 +10,7 @@
#include <config/bitcoin-config.h>
#endif

#include <compat/compat.h>

#include <set>
#include <stdint.h>
#include <cstdint>
#include <string>

// Application startup time (used for uptime calculation)
Expand Down

0 comments on commit fa1a384

Please sign in to comment.