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:
Julian Brost 2021-03-25 11:30:02 +01:00
parent 9830dc194b
commit b34818d3fc
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#include "base/i2-base.hpp"
#include "base/stream.hpp"
#include <iosfwd>
#include <iostream>
namespace icinga {