Patch #27842: build fix for solaris, missing finite(). Patch by A. Hettinger.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 5 Jul 2011 19:04:38 +0000 (19:04 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 5 Jul 2011 19:04:38 +0000 (19:04 +0000)
source/blender/blenlib/BLI_math_base.h

index 6ff57b087247243dbbe901562151c7779dd2ec14..b5bab6f15be68fd0a66574f6f04196e8804a938f 100644 (file)
 #include <math.h>
 #include "BLI_math_inline.h"
 
+#ifdef __sun__
+#include <ieeefp.h> /* for finite() */
+#endif
+
 #ifndef M_PI
 #define M_PI        3.14159265358979323846
 #endif