diff --git a/MeshLib/IO/Legacy/MeshIO.cpp b/MeshLib/IO/Legacy/MeshIO.cpp
index eab8548fb5cd5e9452d232a782ada38bc594136a..24664107dab6880d1189ed149c87e181581f110c 100644
--- a/MeshLib/IO/Legacy/MeshIO.cpp
+++ b/MeshLib/IO/Legacy/MeshIO.cpp
@@ -19,6 +19,7 @@
 #include "MeshIO.h"
 
 #include <iomanip>
+#include <memory>
 #include <sstream>
 
 #include <logog/include/logog.hpp>
@@ -26,8 +27,6 @@
 #include "BaseLib/FileTools.h"
 #include "BaseLib/StringTools.h"
 
-#include "GeoLib/GEOObjects.h"
-
 #include "MeshLib/Elements/Elements.h"
 #include "MeshLib/Node.h"
 #include "MeshLib/Location.h"
diff --git a/MeshLib/IO/Legacy/MeshIO.h b/MeshLib/IO/Legacy/MeshIO.h
index 8ee1970b94983d58d70fe087951cbc00a5a7be01..54a8148f314f86b880b58668ebe6e23632c56ba9 100644
--- a/MeshLib/IO/Legacy/MeshIO.h
+++ b/MeshLib/IO/Legacy/MeshIO.h
@@ -16,7 +16,6 @@
 #ifndef MESHIO_H_
 #define MESHIO_H_
 
-#include <iosfwd>
 #include <string>
 #include <vector>
 #include <boost/optional.hpp>