summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-05-21 12:37:14 +0200
committerStef Walter <stefw@gnome.org>2013-05-21 12:37:14 +0200
commit61a9cfa62972678f1cbbad7f4d1a814e9b7f05e2 (patch)
tree5bf9b88b7d1fbe7a45639a157348a7f5e2903f17 /p11-kit
parent435843812ab7b85f97cfdc32ae9412f78242b950 (diff)
Fix building of applications using CRYPTOKI_GNU style
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/p11-kit.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/p11-kit/p11-kit.h b/p11-kit/p11-kit.h
index b8edcc2..3c1b9fa 100644
--- a/p11-kit/p11-kit.h
+++ b/p11-kit/p11-kit.h
@@ -36,7 +36,6 @@
#define __P11_KIT_H__
#include "p11-kit/pkcs11.h"
-#include "deprecated.h"
/*
* If the caller is using the PKCS#11 GNU calling convention, then we cater
@@ -45,8 +44,11 @@
#ifdef CRYPTOKI_GNU
typedef ck_rv_t CK_RV;
typedef struct ck_function_list* CK_FUNCTION_LIST_PTR;
+typedef struct ck_function_list CK_FUNCTION_LIST;
#endif
+#include "p11-kit/deprecated.h"
+
#ifdef __cplusplus
extern "C" {
#endif