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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux