From b2d59d6c43fc4eb4e87add7408a2f21482685927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Sat, 19 Jun 2010 08:20:25 +0100 Subject: [PATCH] make sure gmp.h is included --- include/SWI-Prolog.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/SWI-Prolog.h b/include/SWI-Prolog.h index 0a60ca54c..2a801db81 100755 --- a/include/SWI-Prolog.h +++ b/include/SWI-Prolog.h @@ -563,6 +563,9 @@ PL_EXPORT(int) PL_release_stream(IOSTREAM *s); #endif #if USE_GMP + +#include + PL_EXPORT(int) PL_get_mpz(term_t t, mpz_t mpz); PL_EXPORT(int) PL_unify_mpz(term_t t, mpz_t mpz); PL_EXPORT(int) PL_get_mpq(term_t t, mpq_t mpz);