浏览代码

X.509: struct x509_certificate needs struct tm declaring

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>
David Howells 12 年之前
父节点
当前提交
57be4a784b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      crypto/asymmetric_keys/x509_parser.h

+ 1 - 0
crypto/asymmetric_keys/x509_parser.h

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