Blame view

buildroot/buildroot-2016.08.1/package/trousers/0003-tsp_tcsi_param-include-limits.h-to-fix-musl-build.patch 826 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  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