2012-11-15 14:38:03

by Michal Marek

[permalink] [raw]
Subject: [PATCH] X.509: Do not rely on implicit time.h include

x509_parser.h needs struct tm, so include the header that declares it.

Signed-off-by: Michal Marek <[email protected]>
---
crypto/asymmetric_keys/x509_parser.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/crypto/asymmetric_keys/x509_parser.h b/crypto/asymmetric_keys/x509_parser.h
index f86dc5f..9383923 100644
--- a/crypto/asymmetric_keys/x509_parser.h
+++ b/crypto/asymmetric_keys/x509_parser.h
@@ -10,6 +10,7 @@
*/

#include <crypto/public_key.h>
+#include <linux/time.h>

struct x509_certificate {
struct x509_certificate *next;
--
1.7.10.4