diff options
Diffstat (limited to 'recipes-tpm/trousers/files/0001-tsp_tcsi_param.c-Include-limits.h-for-POSIX_MAX.patch')
-rw-r--r-- | recipes-tpm/trousers/files/0001-tsp_tcsi_param.c-Include-limits.h-for-POSIX_MAX.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-tpm/trousers/files/0001-tsp_tcsi_param.c-Include-limits.h-for-POSIX_MAX.patch b/recipes-tpm/trousers/files/0001-tsp_tcsi_param.c-Include-limits.h-for-POSIX_MAX.patch new file mode 100644 index 0000000..c01040d --- /dev/null +++ b/recipes-tpm/trousers/files/0001-tsp_tcsi_param.c-Include-limits.h-for-POSIX_MAX.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From c1b5f33845c56dc7aef769c99758b4f77a041d43 Mon Sep 17 00:00:00 2001 | ||
2 | From: Felix Janda <felix.janda@posteo.de> | ||
3 | Date: Wed, 31 Aug 2016 22:52:58 -0400 | ||
4 | Subject: [PATCH] tsp_tcsi_param.c: Include <limits.h> for POSIX_MAX | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Use POSIX instead of glibc-specific header. | ||
10 | Fixes compilation with musl libc. | ||
11 | |||
12 | Signed-off-by: Felix Janda <felix.janda@posteo.de> | ||
13 | Reviewed-by: Hon Ching(Vicky) Lo <honclo@linux.vnet.ibm.com> | ||
14 | |||
15 | --- | ||
16 | Upstream-Status: Backport [https://sourceforge.net/p/trousers/trousers/ci/59351a56cac1710e89d207dff07eb23bbc644c13/] | ||
17 | Signed-off-by: André Draszik <adraszik@tycoint.com> | ||
18 | src/tspi/tsp_tcsi_param.c | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/src/tspi/tsp_tcsi_param.c b/src/tspi/tsp_tcsi_param.c | ||
22 | index 670f86f..8f2b4e4 100644 | ||
23 | --- a/src/tspi/tsp_tcsi_param.c | ||
24 | +++ b/src/tspi/tsp_tcsi_param.c | ||
25 | @@ -11,7 +11,7 @@ | ||
26 | #include <stdlib.h> | ||
27 | #include <string.h> | ||
28 | #include <stdio.h> | ||
29 | -#include <bits/local_lim.h> | ||
30 | +#include <limits.h> | ||
31 | #include "trousers/tss.h" | ||
32 | #include "trousers/trousers.h" | ||
33 | #include "trousers_types.h" | ||
34 | -- | ||
35 | 2.10.2 | ||
36 | |||