From 263d3bfb7be0e78d905a8fb2eb09adcdd43075a2 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Wed, 4 Dec 2019 15:37:43 -0600 Subject: [PATCH] filter_csg: Add ifdef to permit building against gmp --- src/meshlabplugins/filter_csg/gmpfrac.h | 4 ++++ 1 file changed, 4 insertions(+) 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;