Fix for Sun Studio compiler.

This commit is contained in:
Jean-Pierre Flori 2013-08-01 19:06:30 +02:00
parent d86f56a10c
commit 9fe40e0c6b

View File

@ -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 <stddef.h> /* This is Bill Hart's fix, but I've applied it only */
#include <stdarg.h> /* on Sun Studio */
#endif
#if defined (__cplusplus)
#include <iosfwd> /* for std::istream, std::ostream, std::string */
#include <cstdio>