summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index b436a37..8222e28 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -2003,8 +2003,10 @@ typedef void (Tcl_LimitHandlerDeleteProc) (void *clientData);
* Override definitions for libtommath.
*/
-typedef struct mp_int mp_int;
+#ifndef MP_INT_DECLARED
#define MP_INT_DECLARED
+typedef struct mp_int mp_int;
+#endif
/*
*----------------------------------------------------------------------------