Blob Blame History Raw
diff -rupN --no-dereference gmsh-4.5.1-source/Fltk/helpWindow.cpp gmsh-4.5.1-source-new/Fltk/helpWindow.cpp
--- gmsh-4.5.1-source/Fltk/helpWindow.cpp	2019-12-28 22:38:32.870791389 +0100
+++ gmsh-4.5.1-source-new/Fltk/helpWindow.cpp	2019-12-28 22:38:33.154793777 +0100
@@ -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"
diff -rupN --no-dereference gmsh-4.5.1-source/Mesh/gmshCrossFields.cpp gmsh-4.5.1-source-new/Mesh/gmshCrossFields.cpp
--- gmsh-4.5.1-source/Mesh/gmshCrossFields.cpp	2019-12-21 03:59:26.000000000 +0100
+++ gmsh-4.5.1-source-new/Mesh/gmshCrossFields.cpp	2019-12-28 22:38:33.153793768 +0100
@@ -20,10 +20,6 @@
 #include "PView.h"
 #include "PViewDataGModel.h"
 
-#ifdef HAVE_FLTK
-#include "FlGui.h"
-#endif
-
 #if defined(_OPENMP)
 #include <omp.h>
 #endif
@@ -37,6 +33,10 @@
 #include "linearSystemFull.h"
 #include "linearSystemPETSc.h"
 
+#ifdef HAVE_FLTK
+#include "FlGui.h"
+#endif
+
 static inline double lifting(double a, double _a)
 {
   double D = M_PI * .5;