]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
X.509: struct x509_certificate needs struct tm declaring
authorDavid Howells <dhowells@redhat.com>
Tue, 15 Jan 2013 15:33:35 +0000 (15:33 +0000)
committerDavid Howells <dhowells@redhat.com>
Sat, 19 Jan 2013 01:05:18 +0000 (01:05 +0000)
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 {