[v1,5/9] PKCS#7: Fix missing include
diff mbox series

Message ID 20201120180426.922572-6-mic@digikod.net
State New, archived
Headers show
Series
  • Enable root to update the blacklist keyring
Related show

Commit Message

Mickaël Salaün Nov. 20, 2020, 6:04 p.m. UTC
From: Mickaël Salaün <mic@linux.microsoft.com>

Add missing stddef.h for size_t.

Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
---
 include/linux/verification.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

David Howells Dec. 4, 2020, 2:06 p.m. UTC | #1
Mickaël Salaün <mic@digikod.net> wrote:

> +#include <stddef.h>

Something like linux/types.h is probably a better choice.

David
Mickaël Salaün Dec. 4, 2020, 2:58 p.m. UTC | #2
On 04/12/2020 15:06, David Howells wrote:
> Mickaël Salaün <mic@digikod.net> wrote:
> 
>> +#include <stddef.h>
> 
> Something like linux/types.h is probably a better choice.

Indeed.

> 
> David
>

Patch
diff mbox series

diff --git a/include/linux/verification.h b/include/linux/verification.h
index 911ab7c2b1ab..b4a74568c0f0 100644
--- a/include/linux/verification.h
+++ b/include/linux/verification.h
@@ -8,6 +8,8 @@ 
 #ifndef _LINUX_VERIFICATION_H
 #define _LINUX_VERIFICATION_H
 
+#include <stddef.h>
+
 /*
  * Indicate that both builtin trusted keys and secondary trusted keys
  * should be used.