From 87c2842630da30e76abb9aed3f3d448b6a4c9c1a Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 5 Jul 2011 19:04:38 +0000 Subject: Patch #27842: build fix for solaris, missing finite(). Patch by A. Hettinger. --- source/blender/blenlib/BLI_math_base.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/blenlib') 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 #include "BLI_math_inline.h" +#ifdef __sun__ +#include /* for finite() */ +#endif + #ifndef M_PI #define M_PI 3.14159265358979323846 #endif -- cgit v1.2.3