Skip to content

Commit 19ba499

Browse files
committed
init: cerrno is used on all platforms
1 parent ff1ee10 commit 19ba499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/init.cpp

Lines changed: 2 additions & 2 deletions
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

@@ -93,6 +93,7 @@
9393
#include <walletinitinterface.h>
9494

9595
#include <algorithm>
96+
#include <cerrno>
9697
#include <condition_variable>
9798
#include <cstdint>
9899
#include <cstdio>
@@ -104,7 +105,6 @@
104105
#include <vector>
105106

106107
#ifndef WIN32
107-
#include <cerrno>
108108
#include <signal.h>
109109
#include <sys/stat.h>
110110
#endif

0 commit comments

Comments
 (0)