diff --git a/Geo/OCCIncludes.h b/Geo/OCCIncludes.h
index ef06b962116fe4079d896192ddb69c45c46407c0..077a46420917eb49fd0931781f2453360130aa79 100644
--- a/Geo/OCCIncludes.h
+++ b/Geo/OCCIncludes.h
@@ -24,7 +24,11 @@
 
 #include <iostream>
 using std::iostream;
+
+#if !defined(WIN32) || defined(__CYGWIN__)
 #include "config.h"
+#endif
+
 #include "BRep_Tool.hxx"
 #include "Geom_Curve.hxx"
 #include "Geom2d_Curve.hxx"