diff --git a/wrappers/gmshpy/gmshMesh.i b/wrappers/gmshpy/gmshMesh.i
index 20462c7a32a055dad695519e5e1e91e08cf757d6..963c0b8ff0d496c576f0c5fb4795302c2ba46c7d 100644
--- a/wrappers/gmshpy/gmshMesh.i
+++ b/wrappers/gmshpy/gmshMesh.i
@@ -7,6 +7,7 @@
   #include "GmshConfig.h"
 #if defined(HAVE_MESH)
   #include "Generator.h"
+  #include "DivideAndConquer.h"
   #include "highOrderTools.h"
   #include "meshGFaceLloyd.h"
   #include "meshGFaceOptimize.h"
@@ -36,6 +37,7 @@ namespace std {
 %include "GmshConfig.h"
 #if defined(HAVE_MESH)
 %include "Generator.h"
+%include "DivideAndConquer.h"
 %include "highOrderTools.h"
 %include "meshGFaceLloyd.h"
 %include "meshGFaceOptimize.h"
diff --git a/wrappers/gmshpy/gmshNumeric.i b/wrappers/gmshpy/gmshNumeric.i
index 6d0a1653e63591412c8e6d0a4f75d5230664f139..4cb1bb74cee0787da44b36af64fb5802c523a24c 100644
--- a/wrappers/gmshpy/gmshNumeric.i
+++ b/wrappers/gmshpy/gmshNumeric.i
@@ -7,16 +7,14 @@
 %{
   #include "GmshConfig.h"
 
-  #include "DivideAndConquer.h"
   #include "GaussIntegration.h"
   #include "JacobianBasis.h"
   #include "fullMatrix.h"
   #include "polynomialBasis.h"
 %}
 
-%include "DivideAndConquer.h"
 %include "GaussIntegration.h"
-%include "JacobianBasis.h"  
+%include "JacobianBasis.h"
 %include "fullMatrix.h"
 %template(fullMatrixDouble) fullMatrix<double>;
 %template(fullVectorDouble) fullVector<double>;