diff -rupN gmsh-4.2.3-source/Common/CommandLine.cpp gmsh-4.2.3-source-new/Common/CommandLine.cpp
--- gmsh-4.2.3-source/Common/CommandLine.cpp 2019-03-14 10:43:45.000000000 +0100
+++ gmsh-4.2.3-source-new/Common/CommandLine.cpp 2019-04-04 10:31:13.364383623 +0200
@@ -40,7 +40,7 @@
#endif
#if defined(HAVE_MED)
-#include <med.h>
+#include <med/med.h>
#endif
#if defined(HAVE_POST)
diff -rupN gmsh-4.2.3-source/Fltk/helpWindow.cpp gmsh-4.2.3-source-new/Fltk/helpWindow.cpp
--- gmsh-4.2.3-source/Fltk/helpWindow.cpp 2019-03-14 10:43:46.000000000 +0100
+++ gmsh-4.2.3-source-new/Fltk/helpWindow.cpp 2019-04-04 10:31:13.364383623 +0200
@@ -34,7 +34,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 gmsh-4.2.3-source/Geo/GModelIO_MED.cpp gmsh-4.2.3-source-new/Geo/GModelIO_MED.cpp
--- gmsh-4.2.3-source/Geo/GModelIO_MED.cpp 2019-03-14 10:43:46.000000000 +0100
+++ gmsh-4.2.3-source-new/Geo/GModelIO_MED.cpp 2019-04-04 10:31:13.364383623 +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 gmsh-4.2.3-source/Post/PViewDataGModelIO.cpp gmsh-4.2.3-source-new/Post/PViewDataGModelIO.cpp
--- gmsh-4.2.3-source/Post/PViewDataGModelIO.cpp 2019-04-03 15:24:30.000000000 +0200
+++ gmsh-4.2.3-source-new/Post/PViewDataGModelIO.cpp 2019-04-04 10:31:13.364383623 +0200
@@ -469,7 +469,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