diff -rupN --no-dereference gmsh-4.6.0-source/Common/CommandLine.cpp gmsh-4.6.0-source-new/Common/CommandLine.cpp
--- gmsh-4.6.0-source/Common/CommandLine.cpp 2020-06-15 16:04:51.000000000 +0200
+++ gmsh-4.6.0-source-new/Common/CommandLine.cpp 2020-06-23 09:36:32.745203257 +0200
@@ -42,7 +42,7 @@
#endif
#if defined(HAVE_MED)
-#include <med.h>
+#include <med/med.h>
#endif
#if defined(HAVE_POST)
diff -rupN --no-dereference gmsh-4.6.0-source/Fltk/helpWindow.cpp gmsh-4.6.0-source-new/Fltk/helpWindow.cpp
--- gmsh-4.6.0-source/Fltk/helpWindow.cpp 2020-06-15 16:04:51.000000000 +0200
+++ gmsh-4.6.0-source-new/Fltk/helpWindow.cpp 2020-06-23 09:36:32.746203252 +0200
@@ -38,7 +38,7 @@
#endif
#if defined(HAVE_MED)
-#include <med.h>
+#include <med/med.h>
#endif
static const char *help_link(Fl_Widget *w, const char *uri)
diff -rupN --no-dereference gmsh-4.6.0-source/Geo/GModelIO_MED.cpp gmsh-4.6.0-source-new/Geo/GModelIO_MED.cpp
--- gmsh-4.6.0-source/Geo/GModelIO_MED.cpp 2020-06-05 11:56:04.000000000 +0200
+++ gmsh-4.6.0-source-new/Geo/GModelIO_MED.cpp 2020-06-23 09:36:32.746203252 +0200
@@ -26,7 +26,7 @@
#include "discreteVertex.h"
#include "Context.h"
-#include <med.h>
+#include <med/med.h>
#if(MED_MAJOR_NUM >= 3)
// To avoid too many ifdefs below we use defines for the bits of the
diff -rupN --no-dereference gmsh-4.6.0-source/Post/PViewDataGModelIO.cpp gmsh-4.6.0-source-new/Post/PViewDataGModelIO.cpp
--- gmsh-4.6.0-source/Post/PViewDataGModelIO.cpp 2020-06-05 11:56:06.000000000 +0200
+++ gmsh-4.6.0-source-new/Post/PViewDataGModelIO.cpp 2020-06-23 09:36:32.746203252 +0200
@@ -515,7 +515,7 @@ void PViewDataGModel::importLists(int N[
#if defined(HAVE_MED)
-#include <med.h>
+#include <med/med.h>
#if(MED_MAJOR_NUM >= 3)
// To avoid too many ifdefs below we use defines for the bits of the