summaryrefslogtreecommitdiffstats
path: root/g10/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'g10/packet.h')
-rw-r--r--g10/packet.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/g10/packet.h b/g10/packet.h
index 17893875f..8e0c8c7e1 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -23,10 +23,13 @@
#include "types.h"
#include "iobuf.h"
-#include "mpi.h"
-#include "cipher.h"
+#include "dummy-cipher.h"
#include "filter.h"
+#ifndef DID_MPI_TYPEDEF
+ typedef struct gcry_mpi *MPI;
+ #define DID_MPI_TYPEDEF
+#endif
#define GNUPG_MAX_NPKEY 4
#define GNUPG_MAX_NSKEY 6