From: Stef Walter Date: Tue, 21 May 2013 10:37:14 +0000 (+0200) Subject: Fix building of applications using CRYPTOKI_GNU style X-Git-Tag: 0.19.1~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=61a9cfa62972678f1cbbad7f4d1a814e9b7f05e2;p=p11-kit Fix building of applications using CRYPTOKI_GNU style --- 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