aboutsummaryrefslogtreecommitdiffstats
path: root/include/mpi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mpi.h')
-rw-r--r--include/mpi.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mpi.h b/include/mpi.h
index 2293af8fd..dca6426da 100644
--- a/include/mpi.h
+++ b/include/mpi.h
@@ -54,7 +54,10 @@ struct gcry_mpi {
mpi_limb_t *d; /* array with the limbs */
};
-typedef struct gcry_mpi *MPI;
+#ifndef DID_MPI_TYPEDEF
+ typedef struct gcry_mpi *MPI;
+ #define DID_MPI_TYPEDEF
+#endif
#define MPI_NULL NULL