aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-02 08:22:28 -0400
committerJack Lloyd <[email protected]>2017-09-02 08:22:28 -0400
commit6e4b50246e36361b2f94d0fe0b2633655dc5e46f (patch)
treecbb9ea940e2b2c74d18cacf2af148afe4a7f9792
parent4d8d8594b7a75675a19b7feec8fd917b92ec0edd (diff)
Avoid using <iostream> header within the library
We only need <istream> + <ostream> here
-rw-r--r--src/lib/filters/pipe_io.cpp3
-rw-r--r--src/lib/math/bigint/big_io.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/filters/pipe_io.cpp b/src/lib/filters/pipe_io.cpp
index 5367acba9..2f39e2e2c 100644
--- a/src/lib/filters/pipe_io.cpp
+++ b/src/lib/filters/pipe_io.cpp
@@ -6,7 +6,8 @@
*/
#include <botan/pipe.h>
-#include <iostream>
+#include <istream>
+#include <ostream>
namespace Botan {
diff --git a/src/lib/math/bigint/big_io.cpp b/src/lib/math/bigint/big_io.cpp
index 088b1daf7..7d990e25e 100644
--- a/src/lib/math/bigint/big_io.cpp
+++ b/src/lib/math/bigint/big_io.cpp
@@ -6,7 +6,8 @@
*/
#include <botan/bigint.h>
-#include <iostream>
+#include <istream>
+#include <ostream>
namespace Botan {