diff --git a/opm/simulators/wells/WellInterface.hpp b/opm/simulators/wells/WellInterface.hpp
index c695f10b1..18c6f3fe2 100644
--- a/opm/simulators/wells/WellInterface.hpp
+++ b/opm/simulators/wells/WellInterface.hpp
@@ -490,6 +490,8 @@ protected:
} // namespace Opm
+#ifndef OPM_WELLINTERFACE_IMPL_HEADER_INCLUDED
#include "WellInterface_impl.hpp"
+#endif
#endif // OPM_WELLINTERFACE_HEADER_INCLUDED
diff --git a/opm/simulators/wells/WellInterface_impl.hpp b/opm/simulators/wells/WellInterface_impl.hpp
index ed705fca2..2851d0e92 100644
--- a/opm/simulators/wells/WellInterface_impl.hpp
+++ b/opm/simulators/wells/WellInterface_impl.hpp
@@ -19,6 +19,13 @@
along with OPM. If not, see .
*/
+// Improve IDE experience
+#ifndef OPM_WELLINTERFACE_HEADER_INCLUDED
+#include
+#define OPM_WELLINTERFACE_IMPL_HEADER_INCLUDED
+#include
+#endif
+
#include
#include