diff --git a/Geo/CellComplex.h b/Geo/CellComplex.h
index dbcbd202f015dcd3e0d637c9a85e06a7295156f4..6670458a88f76f6427e443497038be85af86b5bb 100644
--- a/Geo/CellComplex.h
+++ b/Geo/CellComplex.h
@@ -13,6 +13,7 @@
 #include <algorithm>
 #include <set>
 #include <queue>
+#include "GmshConfig.h"
 #include "MElement.h"
 #include "GModel.h"
 #include "GEntity.h"