DORMANTno replies

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

From: Michal Marek <hidden>
Date: 2012-11-15 14:38:05
Also in: lkml
Subsystem: asymmetric keys, crypto api, the rest · Maintainers: David Howells, Lukas Wunner, Ignat Korchagin, Herbert Xu, "David S. Miller", Linus Torvalds

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

Signed-off-by: Michal Marek <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help