From fb0e682de606e87816fb02efeb4154319c48397c Mon Sep 17 00:00:00 2001 From: Per Hedbor <ph@opera.com> Date: Wed, 22 Oct 2014 11:34:19 +0200 Subject: [PATCH] Bignumns always exists, step 1. Always include gmp.h, it always exists now. --- src/bignum.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bignum.h b/src/bignum.h index 984a4dbdff..64480e0c46 100644 --- a/src/bignum.h +++ b/src/bignum.h @@ -7,6 +7,7 @@ #ifndef BIGNUM_H #define BIGNUM_H +#include <gmp.h> #include "global.h" #include "pike_int_types.h" @@ -367,9 +368,6 @@ PMOD_EXPORT extern void (*reduce_stack_top_bignum) (void); PMOD_EXPORT extern void (*push_ulongest) (unsigned LONGEST i); PMOD_EXPORT extern int (*ulongest_from_bignum) (unsigned LONGEST *i, struct object *bignum); -#ifndef __MPN -#define MP_INT void -#endif PMOD_EXPORT extern int (*mpz_from_svalue)(MP_INT *, struct svalue *); PMOD_EXPORT extern void (*push_bignum)(MP_INT *); -- GitLab