From 9fe40e0c6b34fb3e7c2d9d4736a9183eb701d397 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Flori Date: Thu, 1 Aug 2013 19:06:30 +0200 Subject: [PATCH] Fix for Sun Studio compiler. --- gmp-h.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gmp-h.in b/gmp-h.in index dcb80ebd..9817f130 100644 --- a/gmp-h.in +++ b/gmp-h.in @@ -22,6 +22,11 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ #ifndef __GMP_H__ +#ifdef __SUNPRO_CC /* See: http://trac.sagemath.org/sage_trac/ticket/7849 */ +#include /* This is Bill Hart's fix, but I've applied it only */ +#include /* on Sun Studio */ +#endif + #if defined (__cplusplus) #include /* for std::istream, std::ostream, std::string */ #include