diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-07-05 23:04:38 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-07-05 23:04:38 +0400 |
commit | 87c2842630da30e76abb9aed3f3d448b6a4c9c1a (patch) | |
tree | 3ab6df982ff619244f8a05fb32e7f014dc621617 /source/blender/blenlib/BLI_math_base.h | |
parent | 81ad6fa4e6e00fbf5f3e4d2c964e99f88a49148c (diff) |
Patch #27842: build fix for solaris, missing finite(). Patch by A. Hettinger.
Diffstat (limited to 'source/blender/blenlib/BLI_math_base.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_base.h b/source/blender/blenlib/BLI_math_base.h index 6ff57b08724..b5bab6f15be 100644 --- a/source/blender/blenlib/BLI_math_base.h +++ b/source/blender/blenlib/BLI_math_base.h @@ -39,6 +39,10 @@ #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 |