diff --git a/src/meshlabplugins/filter_csg/gmpfrac.h b/src/meshlabplugins/filter_csg/gmpfrac.h index 42ef92091..f10542075 100644 --- a/src/meshlabplugins/filter_csg/gmpfrac.h +++ b/src/meshlabplugins/filter_csg/gmpfrac.h @@ -2,7 +2,11 @@ #define GMPFRAC_H #include +#ifdef BUILD_WITH_GMP +#include +#else #include +#endif inline long floor(const mpq_class &x) { mpz_class q;