X.509: struct x509_certificate needs struct tm declaring
authorDavid Howells <dhowells@redhat.com>
Fri, 30 Aug 2013 15:16:34 +0000 (16:16 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 25 Sep 2013 16:17:00 +0000 (17:17 +0100)
struct x509_certificate needs struct tm declaring by #inclusion of linux/time.h
prior to its definition.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Josh Boyer <jwboyer@redhat.com>
crypto/asymmetric_keys/x509_parser.h

index e583ad09e5a1c5b7e45942602d6022b804a9f3ce..2d01182147703a551811cecad91f34ae5589d66f 100644 (file)
@@ -9,6 +9,7 @@
  * 2 of the Licence, or (at your option) any later version.
  */
 
+#include <linux/time.h>
 #include <crypto/public_key.h>
 
 struct x509_certificate {