diff mbox

[for-4.10] xenalyze: fix compilation

Message ID 20171023162832.48630-1-roger.pau@citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Roger Pau Monné Oct. 23, 2017, 4:28 p.m. UTC
Recent changes in xenalyze introduced INT_MIN without also adding the
required header, fix this by adding the header.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
Cc: George Dunlap <george.dunlap@eu.citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Cc: Julien Grall <julien.grall@linaro.org>
---
This should be accepted for 4.10 because it's a build bug fix, with no
functional change at all.
---
 tools/xentrace/xenalyze.c | 1 +
 1 file changed, 1 insertion(+)

Comments

George Dunlap Oct. 23, 2017, 4:32 p.m. UTC | #1
On 10/23/2017 05:28 PM, Roger Pau Monne wrote:
> Recent changes in xenalyze introduced INT_MIN without also adding the
> required header, fix this by adding the header.
> 
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>

Acked-by: George Dunlap <george.dunlap@citrix.com>

> ---
> Cc: George Dunlap <george.dunlap@eu.citrix.com>
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> Cc: Wei Liu <wei.liu2@citrix.com>
> Cc: Julien Grall <julien.grall@linaro.org>
> ---
> This should be accepted for 4.10 because it's a build bug fix, with no
> functional change at all.
> ---
>  tools/xentrace/xenalyze.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tools/xentrace/xenalyze.c b/tools/xentrace/xenalyze.c
> index 79bdba7fed..5768b54f86 100644
> --- a/tools/xentrace/xenalyze.c
> +++ b/tools/xentrace/xenalyze.c
> @@ -23,6 +23,7 @@
>  #include <stdlib.h>
>  #include <argp.h>
>  #include <inttypes.h>
> +#include <limits.h>
>  #include <sys/types.h>
>  #include <sys/wait.h>
>  #include <sys/stat.h>
>
Julien Grall Oct. 23, 2017, 5 p.m. UTC | #2
Hi,

On 23/10/17 17:32, George Dunlap wrote:
> On 10/23/2017 05:28 PM, Roger Pau Monne wrote:
>> Recent changes in xenalyze introduced INT_MIN without also adding the
>> required header, fix this by adding the header.
>>
>> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> 
> Acked-by: George Dunlap <george.dunlap@citrix.com>

Release-acked-by: Julien Grall <julien.grall@linaro.org>

Cheers,

> 
>> ---
>> Cc: George Dunlap <george.dunlap@eu.citrix.com>
>> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
>> Cc: Wei Liu <wei.liu2@citrix.com>
>> Cc: Julien Grall <julien.grall@linaro.org>
>> ---
>> This should be accepted for 4.10 because it's a build bug fix, with no
>> functional change at all.
>> ---
>>   tools/xentrace/xenalyze.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/tools/xentrace/xenalyze.c b/tools/xentrace/xenalyze.c
>> index 79bdba7fed..5768b54f86 100644
>> --- a/tools/xentrace/xenalyze.c
>> +++ b/tools/xentrace/xenalyze.c
>> @@ -23,6 +23,7 @@
>>   #include <stdlib.h>
>>   #include <argp.h>
>>   #include <inttypes.h>
>> +#include <limits.h>
>>   #include <sys/types.h>
>>   #include <sys/wait.h>
>>   #include <sys/stat.h>
>>
>
diff mbox

Patch

diff --git a/tools/xentrace/xenalyze.c b/tools/xentrace/xenalyze.c
index 79bdba7fed..5768b54f86 100644
--- a/tools/xentrace/xenalyze.c
+++ b/tools/xentrace/xenalyze.c
@@ -23,6 +23,7 @@ 
 #include <stdlib.h>
 #include <argp.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <sys/stat.h>