mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-06 10:09:33 +02:00
Build failure with boost 1.88.0 #1367
fix compilation errors by including the deprecated boost process v1 APIs
This commit is contained in:
parent
c06481aa74
commit
798e5cb142
2 changed files with 10 additions and 4 deletions
|
@ -27,7 +27,11 @@
|
||||||
|
|
||||||
// 3rd party headers
|
// 3rd party headers
|
||||||
#ifdef SUPPORTS_VOLUME_SCRIPT
|
#ifdef SUPPORTS_VOLUME_SCRIPT
|
||||||
#include <boost/process.hpp>
|
#define BOOST_PROCESS_VERSION 1
|
||||||
|
#include <boost/process/v1/args.hpp>
|
||||||
|
#include <boost/process/v1/child.hpp>
|
||||||
|
#include <boost/process/v1/detail/on_exit.hpp>
|
||||||
|
#include <boost/process/v1/exe.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// standard headers
|
// standard headers
|
||||||
|
|
|
@ -18,14 +18,16 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
// local headers
|
// local headers
|
||||||
#include "jsonrpcpp.hpp"
|
#include "jsonrpcpp.hpp"
|
||||||
#include "server_settings.hpp"
|
#include "server_settings.hpp"
|
||||||
|
|
||||||
// 3rd party headers
|
// 3rd party headers
|
||||||
#include <boost/asio/any_io_executor.hpp>
|
#define BOOST_PROCESS_VERSION 1
|
||||||
#include <boost/process.hpp>
|
#include <boost/asio.hpp>
|
||||||
|
#include <boost/process/v1/io.hpp>
|
||||||
|
#include <boost/process/v1/start_dir.hpp>
|
||||||
|
#include <boost/process/v1/system.hpp>
|
||||||
|
|
||||||
// standard headers
|
// standard headers
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue