diff options
author | Romain Naour <romain.naour@gmail.com> | 2016-08-21 23:36:49 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-08-22 16:46:08 +0200 |
commit | 996384df59114673b4f07c864f89afd1ab41d15a (patch) | |
tree | 60e8344f9ecb5dcacd7b7d6634c62ed43993fc76 | |
parent | fdb14fb9bb5e77ccd6578a9739eaeb4c88ce85df (diff) | |
download | buildroot-996384df59114673b4f07c864f89afd1ab41d15a.tar.gz buildroot-996384df59114673b4f07c864f89afd1ab41d15a.zip |
package/trousers: fix musl build
The musl libc doesn't provide <bits/local_lim.h>, use <limits.h>
instead.
Fixes:
http://autobuild.buildroot.net/results/f71/f71edcf08f31029ef642415b8351ed14767c8e0e
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/trousers/0003-tsp_tcsi_param-include-limits.h-to-fix-musl-build.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/package/trousers/0003-tsp_tcsi_param-include-limits.h-to-fix-musl-build.patch b/package/trousers/0003-tsp_tcsi_param-include-limits.h-to-fix-musl-build.patch new file mode 100644 index 0000000000..f88e47ac27 --- /dev/null +++ b/package/trousers/0003-tsp_tcsi_param-include-limits.h-to-fix-musl-build.patch @@ -0,0 +1,29 @@ +From 66bbe0a87818a1e3c721780dc33b2d81fdf4a774 Mon Sep 17 00:00:00 2001 +From: Romain Naour <romain.naour@gmail.com> +Date: Sun, 21 Aug 2016 23:32:10 +0200 +Subject: [PATCH] tsp_tcsi_param: include limits.h to fix musl build + +The musl libc doesn't provide <bits/local_lim.h>, use <limits.h> +instead. + +Signed-off-by: Romain Naour <romain.naour@gmail.com> +--- + src/tspi/tsp_tcsi_param.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/tspi/tsp_tcsi_param.c b/src/tspi/tsp_tcsi_param.c +index 670f86f..8f2b4e4 100644 +--- a/src/tspi/tsp_tcsi_param.c ++++ b/src/tspi/tsp_tcsi_param.c +@@ -11,7 +11,7 @@ + #include <stdlib.h> + #include <string.h> + #include <stdio.h> +-#include <bits/local_lim.h> ++#include <limits.h> + #include "trousers/tss.h" + #include "trousers/trousers.h" + #include "trousers_types.h" +-- +2.5.5 + |