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

From: Michal Marek
Date: Thu Nov 15 2012 - 09:37:53 EST


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

Signed-off-by: Michal Marek <mmarek@xxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/