Add missing includes

This commit is contained in:
badaix 2025-06-06 14:05:39 +02:00 committed by Johannes Pohl
parent 0de502f565
commit 7c27acb3c7
7 changed files with 19 additions and 4 deletions

View file

@ -38,6 +38,7 @@
// 3rd party headers
#include <boost/asio/ip/host_name.hpp>
#include <boost/asio/signal_set.hpp>
// standard headers
#include <chrono>

View file

@ -23,6 +23,8 @@
#include "common/aixlog.hpp"
// 3rd party headers
#include <boost/asio/read.hpp>
#include <boost/asio/write.hpp>
// standard headers
#include <iostream>

View file

@ -23,6 +23,7 @@
#include "process_stream.hpp"
// 3rd party headers
#include <boost/asio/streambuf.hpp>
// Expat is used in metadata parsing from Shairport-sync.
// Without HAS_EXPAT defined no parsing will occur.
#ifdef HAS_EXPAT
@ -42,8 +43,6 @@ struct TageEntry
int length{0}; ///< length
};
/// Starts shairport-sync and reads PCM data from stdout
/**
* Starts shairport-sync, reads PCM data from stdout, and passes the data to an encoder.
* Implements EncoderListener to get the encoded data.

View file

@ -1,6 +1,6 @@
/***
This file is part of snapcast
Copyright (C) 2014-2024 Johannes Pohl
Copyright (C) 2014-2025 Johannes Pohl
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -22,6 +22,9 @@
// local headers
#include "asio_stream.hpp"
// 3rd party headers
#include <boost/asio/posix/stream_descriptor.hpp>
namespace streamreader
{

View file

@ -35,6 +35,7 @@
#include <boost/asio/io_context.hpp>
#include <boost/asio/read_until.hpp>
#include <boost/asio/steady_timer.hpp>
#include <boost/asio/strand.hpp>
// standard headers
#include <atomic>

View file

@ -1,6 +1,6 @@
/***
This file is part of snapcast
Copyright (C) 2014-2024 Johannes Pohl
Copyright (C) 2014-2025 Johannes Pohl
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -22,6 +22,10 @@
// local headers
#include "asio_stream.hpp"
// 3rd party headers
#include <boost/asio/posix/stream_descriptor.hpp>
namespace streamreader
{

View file

@ -23,6 +23,11 @@
#include "asio_stream.hpp"
#include "watchdog.hpp"
// 3rd party headers
#include <boost/asio/posix/stream_descriptor.hpp>
#include <boost/process/v1/child.hpp>
#include <boost/process/v1/pipe.hpp>
// standard headers
#include <memory>
#include <string>