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-23 09:36:32.877202577 +0200
+++ gmsh-4.6.0-source-new/Fltk/helpWindow.cpp 2020-06-23 09:36:33.166201093 +0200
@@ -3,6 +3,12 @@
// See the LICENSE.txt file for license information. Please report all
// issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
+#include "GmshConfig.h"
+
+#if defined(HAVE_MED)
+#include <med/med.h>
+#endif
+
#include <sstream>
#include <algorithm>
#include <string>
@@ -13,7 +19,6 @@
#include <FL/Fl_Check_Button.H>
#include <FL/Fl_Input.H>
#include <FL/Fl_Color_Chooser.H>
-#include "GmshConfig.h"
#include "FlGui.h"
#include "inputValue.h"
#include "helpWindow.h"