=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/plugin/cmo-gmp.c,v retrieving revision 1.7 retrieving revision 1.10 diff -u -p -r1.7 -r1.10 --- OpenXM/src/kan96xx/plugin/cmo-gmp.c 2003/08/26 05:04:41 1.7 +++ OpenXM/src/kan96xx/plugin/cmo-gmp.c 2015/09/14 07:56:20 1.10 @@ -1,5 +1,6 @@ -/*$OpenXM: OpenXM/src/kan96xx/plugin/cmo-gmp.c,v 1.6 2001/05/04 01:06:29 takayama Exp $ */ +/*$OpenXM: OpenXM/src/kan96xx/plugin/cmo-gmp.c,v 1.9 2005/07/03 11:08:54 ohara Exp $ */ #include +#include #include /* #include */ #include @@ -11,11 +12,16 @@ #include "kclass.h" #include "gmp.h" -#include "gmp-impl.h" +#include "gmp-impl.h" #include "file2.h" #include "cmo.h" + +/* for gmp6.0.0 */ +#ifndef BYTES_PER_MP_LIMB +#define BYTES_PER_MP_LIMB SIZEOF_MP_LIMB_T +#endif extern int OxVersion; size_t cmoOutGMPCoeff_old(mpz_srcptr x);