init: cerrno is used on all platforms

This commit is contained in:
fanquake committed 2025-05-19 13:45:04 +01:00
1 parent ff1ee102c4
commit 19ba499b1f
1 file changed
+2 -2
+2 -2
View File
@@ -1,5 +1,5 @@
// Copyright (c) 2009-2010 Satoshi Nakamoto // 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 // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
@@ -93,6 +93,7 @@
#include <walletinitinterface.h> #include <walletinitinterface.h>
#include <algorithm> #include <algorithm>
#include <cerrno>
#include <condition_variable> #include <condition_variable>
#include <cstdint> #include <cstdint>
#include <cstdio> #include <cstdio>
@@ -104,7 +105,6 @@
#include <vector> #include <vector>
#ifndef WIN32 #ifndef WIN32
#include <cerrno>
#include <signal.h> #include <signal.h>
#include <sys/stat.h> #include <sys/stat.h>
#endif #endif