Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/BLI_mpq2.hh')
-rw-r--r--source/blender/blenlib/BLI_mpq2.hh7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_mpq2.hh b/source/blender/blenlib/BLI_mpq2.hh
index 771115ca041..a78ffaaa32d 100644
--- a/source/blender/blenlib/BLI_mpq2.hh
+++ b/source/blender/blenlib/BLI_mpq2.hh
@@ -17,8 +17,10 @@
#ifndef __BLI_MPQ2_HH__
#define __BLI_MPQ2_HH__
-#include "BLI_math_mpq.hh"
-#include "BLI_mpq3.hh"
+#ifdef WITH_GMP
+
+# include "BLI_math_mpq.hh"
+# include "BLI_mpq3.hh"
namespace blender {
@@ -174,4 +176,5 @@ struct mpq2 {
} // namespace blender
+#endif /* WITH_GMP */
#endif /* __BLI_MPQ_HH__ */