a63b3c4
diff -rupN --no-dereference gmsh-4.11.1-source/src/common/CommandLine.cpp gmsh-4.11.1-source-new/src/common/CommandLine.cpp
a63b3c4
--- gmsh-4.11.1-source/src/common/CommandLine.cpp	2022-09-28 20:00:58.000000000 +0200
a63b3c4
+++ gmsh-4.11.1-source-new/src/common/CommandLine.cpp	2022-12-21 15:34:04.306442038 +0100
db2afb7
@@ -42,7 +42,7 @@
c85b8e6
 #endif
c85b8e6
 
c85b8e6
 #if defined(HAVE_MED)
ed7cf53
-#include <med.h>
c85b8e6
+#include <med/med.h>
c85b8e6
 #endif
c85b8e6
 
c85b8e6
 #if defined(HAVE_POST)
a63b3c4
diff -rupN --no-dereference gmsh-4.11.1-source/src/fltk/helpWindow.cpp gmsh-4.11.1-source-new/src/fltk/helpWindow.cpp
a63b3c4
--- gmsh-4.11.1-source/src/fltk/helpWindow.cpp	2022-09-28 20:00:58.000000000 +0200
a63b3c4
+++ gmsh-4.11.1-source-new/src/fltk/helpWindow.cpp	2022-12-21 15:34:04.306442038 +0100
e28eba6
@@ -36,7 +36,7 @@
dbd8682
 #endif
c85b8e6
 
c85b8e6
 #if defined(HAVE_MED)
ed7cf53
-#include <med.h>
c85b8e6
+#include <med/med.h>
c85b8e6
 #endif
c85b8e6
 
dbd8682
 static const char *help_link(Fl_Widget *w, const char *uri)
a63b3c4
diff -rupN --no-dereference gmsh-4.11.1-source/src/geo/GModelIO_MED.cpp gmsh-4.11.1-source-new/src/geo/GModelIO_MED.cpp
a63b3c4
--- gmsh-4.11.1-source/src/geo/GModelIO_MED.cpp	2022-10-19 11:45:57.000000000 +0200
a63b3c4
+++ gmsh-4.11.1-source-new/src/geo/GModelIO_MED.cpp	2022-12-21 15:34:04.307442038 +0100
ed7cf53
@@ -26,7 +26,7 @@
ed7cf53
 #include "discreteVertex.h"
cf4bbb5
 #include "Context.h"
c85b8e6
 
c85b8e6
-#include <med.h>
c85b8e6
+#include <med/med.h>
c85b8e6
 
ac057ca
 #if(MED_MAJOR_NUM >= 3)
ed7cf53
 // To avoid too many ifdefs below we use defines for the bits of the
a63b3c4
diff -rupN --no-dereference gmsh-4.11.1-source/src/post/PViewDataGModelIO.cpp gmsh-4.11.1-source-new/src/post/PViewDataGModelIO.cpp
a63b3c4
--- gmsh-4.11.1-source/src/post/PViewDataGModelIO.cpp	2022-09-28 20:01:01.000000000 +0200
a63b3c4
+++ gmsh-4.11.1-source-new/src/post/PViewDataGModelIO.cpp	2022-12-21 15:34:04.307442038 +0100
9dee90f
@@ -542,7 +542,7 @@ void PViewDataGModel::importLists(int N[
ed7cf53
 
c85b8e6
 #if defined(HAVE_MED)
c85b8e6
 
c85b8e6
-#include <med.h>
c85b8e6
+#include <med/med.h>
c85b8e6
 
ac057ca
 #if(MED_MAJOR_NUM >= 3)
ed7cf53
 // To avoid too many ifdefs below we use defines for the bits of the