fix include for boost 1.8.3+ (#121)

Co-authored-by: swurl <swurl@swurl.xyz>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/121
Co-authored-by: Esther1024 <danishreyjavik@outlook.com>
Co-committed-by: Esther1024 <danishreyjavik@outlook.com>
This commit is contained in:
Esther1024 2025-05-22 20:38:57 +00:00 committed by crueter
parent bad2232874
commit 15fb1f78b3

View file

@ -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;