summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/include/sequoia/openpgp/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp-ffi/include/sequoia/openpgp/crypto.h')
-rw-r--r--openpgp-ffi/include/sequoia/openpgp/crypto.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp/crypto.h b/openpgp-ffi/include/sequoia/openpgp/crypto.h
index 00d49466..530208a0 100644
--- a/openpgp-ffi/include/sequoia/openpgp/crypto.h
+++ b/openpgp-ffi/include/sequoia/openpgp/crypto.h
@@ -1,6 +1,8 @@
#ifndef SEQUOIA_OPENPGP_CRYPTO_H
#define SEQUOIA_OPENPGP_CRYPTO_H
+#include <sequoia/openpgp/types.h>
+
typedef struct pgp_mpi *pgp_mpi_t;
/*/
@@ -26,9 +28,6 @@ void pgp_signer_free (pgp_signer_t s);
/*/
typedef struct pgp_key_pair *pgp_key_pair_t;
-/* Forward declaration. */
-typedef struct pgp_key *pgp_key_t;
-
/*/
/// Creates a new key pair.
/*/