1From 507c394cfcf4edffc5e4450c5d737e545c26b857 Mon Sep 17 00:00:00 2001
2From: Daniel Engberg <daniel.engberg.lists@pyret.net>
3Date: Sat, 12 Dec 2020 18:56:38 +0100
4Subject: [PATCH] p11-kit/lists.c: Add stdint.h to fix compilation
5
6Add stdint.h otherwise compilation fails on FreeBSD 13-CURRENT with "use of undeclared identifier 'SIZE_MAX'"
7
8Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
9
10[Retrieved from:
11https://github.com/p11-glue/p11-kit/commit/507c394cfcf4edffc5e4450c5d737e545c26b857]
12Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
13---
14 p11-kit/lists.c | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/p11-kit/lists.c b/p11-kit/lists.c
18index 365a6d89..1d9062be 100644
19--- a/p11-kit/lists.c
20+++ b/p11-kit/lists.c
21@@ -39,6 +39,7 @@
22
23 #include <assert.h>
24 #include <ctype.h>
25+#include <stdint.h>
26 #include <string.h>
27 #include <stdio.h>
28 #include <stdlib.h>
29