From 61a9cfa62972678f1cbbad7f4d1a814e9b7f05e2 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 21 May 2013 12:37:14 +0200 Subject: Fix building of applications using CRYPTOKI_GNU style --- p11-kit/p11-kit.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'p11-kit') 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 -- cgit v1.1