[PATCH] add missing include wincrypt.h
Nikos Mavrogiannopoulos
nmav at gnutls.org
Wed Jun 6 10:42:01 CEST 2012
Thanks. Btw why do you check for _WIN32 or __WIN32__? Are there cases
where one may exist and the other not?
regards,
Nikos
On Wed, Jun 6, 2012 at 10:16 AM, Mark Brand <mabrand at mabrand.nl> wrote:
> From ca841dcb3e6144b31de5e7515e48351ebd154a0a Mon Sep 17 00:00:00 2001
> From: Mark Brand <mabrand at mabrand.nl>
> Date: Wed, 6 Jun 2012 10:09:48 +0200
> Subject: [PATCH] add missing include wincrypt.h
>
> ---
> lib/gnutls_x509.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c
> index 71e0d69..130d75c 100644
> --- a/lib/gnutls_x509.c
> +++ b/lib/gnutls_x509.c
> @@ -42,6 +42,9 @@
> #include "x509/x509_int.h"
> #include <gnutls_str_array.h>
> #include "read-file.h"
> +#if defined _WIN32 || defined __WIN32__
> +#include <wincrypt.h>
> +#endif
>
> /*
> * some x509 certificate parsing functions.
> --
> 1.7.9.2
>
> _______________________________________________
> Gnutls-devel mailing list
> Gnutls-devel at gnu.org
> https://lists.gnu.org/mailman/listinfo/gnutls-devel
>
More information about the Gnutls-devel
mailing list