diff --git a/Mesh/meshGRegionBoundaryRecovery.cpp b/Mesh/meshGRegionBoundaryRecovery.cpp
index 7aa9641f636371267058a26c3ac8ace484367f58..c6b061cc262b6ebf87553606f137504cc87c4c19 100644
--- a/Mesh/meshGRegionBoundaryRecovery.cpp
+++ b/Mesh/meshGRegionBoundaryRecovery.cpp
@@ -4,6 +4,7 @@
 // bugs and problems to the public mailing list <gmsh@onelab.info>.
 
 #include <stdio.h>
+#include <string.h>
 #include <assert.h>
 #include "GmshConfig.h"
 #include "meshGRegionBoundaryRecovery.h"
@@ -17,7 +18,6 @@
 #include "MTetrahedron.h"
 #include "Context.h"
 #include "OS.h"
-#include <string.h>
 
 namespace tetgenBR
 {
@@ -81,7 +81,7 @@ public:
 #define insphere robustPredicates::insphere
 static double orient4d(double*, double *, double *, double *, double *,
                 double, double, double, double, double){ return 0.; }
-
+#define clock_t int
 #include "tetgenBR.h"
 #include "tetgenBR.cxx"