aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/emacs-module/mod-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/emacs-module/mod-test.c')
-rw-r--r--test/data/emacs-module/mod-test.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/data/emacs-module/mod-test.c b/test/data/emacs-module/mod-test.c
index 8ac08f71534..b7007bd80ff 100644
--- a/test/data/emacs-module/mod-test.c
+++ b/test/data/emacs-module/mod-test.c
@@ -27,11 +27,16 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
27#include <string.h> 27#include <string.h>
28#include <time.h> 28#include <time.h>
29 29
30#ifdef HAVE_GMP
31#include <gmp.h>
32#else
33#include "mini-gmp.h"
34#define EMACS_MODULE_HAVE_MPZ_T
35#endif
36
30#define EMACS_MODULE_GMP 37#define EMACS_MODULE_GMP
31#include <emacs-module.h> 38#include <emacs-module.h>
32 39
33#include <gmp.h>
34
35#include "timespec.h" 40#include "timespec.h"
36 41
37int plugin_is_GPL_compatible; 42int plugin_is_GPL_compatible;