mirror of https://github.com/Icinga/icinga2.git
Add missing #include <iostream>
Fixes the following build error: /home/jbrost/dev/icinga2/lib/base/stdiostream.cpp: In member function ‘virtual size_t icinga::StdioStream::Read(void*, size_t, bool)’: /home/jbrost/dev/icinga2/lib/base/stdiostream.cpp:28:15: error: invalid use of incomplete type ‘std::iostream’ {aka ‘class std::basic_iostream<char>’} 28 | m_InnerStream->read(static_cast<char *>(buffer), size); | ^~
This commit is contained in:
parent
9830dc194b
commit
b34818d3fc
|
@ -6,6 +6,7 @@
|
|||
#include "base/i2-base.hpp"
|
||||
#include "base/stream.hpp"
|
||||
#include <iosfwd>
|
||||
#include <iostream>
|
||||
|
||||
namespace icinga {
|
||||
|
||||
|
|
Loading…
Reference in New Issue