diff --git a/MantidPlot/src/Mantid/InstrumentWidget/RectF.cpp b/MantidPlot/src/Mantid/InstrumentWidget/RectF.cpp
index 857f24699512680169df29eb814b1b5d61cb7480..8204c70743db244acfd669047da57e57a4bb95b2 100644
--- a/MantidPlot/src/Mantid/InstrumentWidget/RectF.cpp
+++ b/MantidPlot/src/Mantid/InstrumentWidget/RectF.cpp
@@ -1,5 +1,3 @@
-#include <iostream>
-
 #include "RectF.h"
 
 
diff --git a/MantidPlot/src/Mantid/InstrumentWidget/RectF.h b/MantidPlot/src/Mantid/InstrumentWidget/RectF.h
index 2a2bbc99e6a1ad08194a61f63bb7345f06e32041..570edc68c82538e2d404db9e8c051ce5bc9fb47a 100644
--- a/MantidPlot/src/Mantid/InstrumentWidget/RectF.h
+++ b/MantidPlot/src/Mantid/InstrumentWidget/RectF.h
@@ -7,7 +7,7 @@
 #include <QTransform>
 
 #include <algorithm>
-#include <iosfwd>
+#include <iostream>
 #include <stdexcept>
 #include <cmath>