From d897635497a2f396d1972d7584e83bf3e64b0b95 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Tue, 1 Apr 2008 19:43:41 +0000 Subject: [PATCH] Added header needed for Solaris to find finite() prototype. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/math.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/wx/math.h b/include/wx/math.h index e5fdef0a58..b7096cbfdb 100644 --- a/include/wx/math.h +++ b/include/wx/math.h @@ -60,6 +60,9 @@ #elif defined(__GNUG__)||defined(__GNUWIN32__)||defined(__DJGPP__)|| \ defined(__SGI_CC__)||defined(__SUNCC__)||defined(__XLC__)|| \ defined(__HPUX__)||defined(__MWERKS__) +#ifdef __SOLARIS__ +#include +#endif #define wxFinite(x) finite(x) #else #define wxFinite(x) ((x) == (x))