Fixed a std::FILE issue in gmp.h and a missing <cstdlib> in t-locale.cc

This commit is contained in:
wbhart 2009-01-10 19:12:05 +00:00
parent 38f99e4992
commit 7eb253056e
2 changed files with 3 additions and 0 deletions

View File

@ -529,8 +529,10 @@ typedef __mpq_struct *mpq_ptr;
#if defined (__cplusplus)
extern "C" {
#ifdef _GMP_H_HAVE_FILE
using std::FILE;
#endif
#endif
#define mp_set_memory_functions __gmp_set_memory_functions
__GMP_DECLSPEC void mp_set_memory_functions __GMP_PROTO ((void *(*) (size_t),

View File

@ -21,6 +21,7 @@ MA 02110-1301, USA. */
#include <clocale>
#include <iostream>
#include <cstdlib>
#include "gmp.h"
#include "gmp-impl.h"