Needed to include <math.h> on solaris for some odd reason for their
[blender.git] / extern / solid / include / MT_Scalar.h
index 63090d06fc0bb87f2dc16bb0fab9531f9bbedda9..8cc06aebf2cb440fd6cc768c50f1bffcdf9afc0c 100755 (executable)
@@ -25,6 +25,9 @@
 #define MT_SCALAR_H
 
 #include <cmath>
+#if defined (__sun__) || defined ( __sun ) || defined (__sparc) || defined (__sparc__)
+#include <math.h>
+#endif
 
 #undef max