[PATCH] add missing include wincrypt.h
Mark Brand
mabrand at mabrand.nl
Wed Jun 6 10:16:17 CEST 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-missing-include-wincrypt.h.patch
Type: text/x-patch
Size: 630 bytes
Desc: not available
URL: </pipermail/attachments/20120606/b738e9d0/attachment.bin>
More information about the Gnutls-devel
mailing list