void-packages/srcpkgs/cclive/patches/fix-missing-iostream-includes.patch
2018-12-09 07:05:13 -02:00

38 lines
828 B
Diff

diff --git a/src/cc/error.h b/src/cc/error.h
index c1d80ab..98a4a10 100644
--- src/cc/error.h
+++ src/cc/error.h
@@ -21,6 +21,7 @@
#ifndef cc__error_h
#define cc__error_h
+#include <iostream>
#include <ccinternal>
#include <boost/exception/diagnostic_information.hpp>
diff --git a/src/cc/log.h b/src/cc/log.h
index 2b2c986..77708f5 100644
--- src/cc/log.h
+++ src/cc/log.h
@@ -21,6 +21,7 @@
#ifndef cc__log_h
#define cc__log_h
+#include <iostream>
#include <ccinternal>
#include <boost/iostreams/filtering_stream.hpp>
diff --git a/src/cc/options.h b/src/cc/options.h
index 6c45ce8..d757bfb 100644
--- src/cc/options.h
+++ src/cc/options.h
@@ -21,6 +21,8 @@
#ifndef cc__options_h
#define cc__options_h
+#include <iostream>
+
#include <ccinternal>
#include <boost/program_options/options_description.hpp>