aboutsummaryrefslogtreecommitdiff
path: root/src/core/debugger/debugger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/debugger/debugger.cpp')
-rw-r--r--src/core/debugger/debugger.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/core/debugger/debugger.cpp b/src/core/debugger/debugger.cpp
index e86aae8460..84c846bab2 100644
--- a/src/core/debugger/debugger.cpp
+++ b/src/core/debugger/debugger.cpp
@@ -1,12 +1,15 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include <algorithm>
#include <mutex>
-#include <thread>
#include <boost/asio.hpp>
+#include <boost/version.hpp>
+#if BOOST_VERSION > 108300 && !defined(_WINDOWS) && !defined(ANDROID)
+#include <boost/process/v1/async_pipe.hpp>
+#else
#include <boost/process/async_pipe.hpp>
+#endif
#include "common/logging/log.h"
#include "common/polyfill_thread.h"
@@ -326,7 +329,11 @@ private:
struct ConnectionState {
boost::asio::ip::tcp::socket client_socket;
+#if BOOST_VERSION > 108300 && !defined(_WINDOWS) && !defined(ANDROID)
+ boost::process::v1::async_pipe signal_pipe;
+#else
boost::process::async_pipe signal_pipe;
+#endif
SignalInfo info;
Kernel::KScopedAutoObject<Kernel::KThread> active_thread;