qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/6] tests/tcg/linux-test.c: include definitions


From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-devel] [PATCH 3/6] tests/tcg/linux-test.c: include definitions for getrusage()
Date: Wed, 2 Aug 2017 18:37:33 -0300

On Wed, Aug 2, 2017 at 6:28 PM, Philippe Mathieu-Daudé <address@hidden> wrote:
> Hi Cleber,
>
> On 08/02/2017 05:15 PM, Cleber Rosa wrote:
>>
>> A include for <sys/resources.h> is missing, and prevents
>> tests/tcg/linux-test from compiling.
>
>
> getrusage() I presume, don't know if worth adding in commit message.

Sorry I missed it from the commit subject :/

>
>>
>> Signed-off-by: Cleber Rosa <address@hidden>
>
>
> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
>
>
>> ---
>>   tests/tcg/linux-test.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/tests/tcg/linux-test.c b/tests/tcg/linux-test.c
>> index 1c6c013..15c9d7f 100644
>> --- a/tests/tcg/linux-test.c
>> +++ b/tests/tcg/linux-test.c
>> @@ -39,6 +39,7 @@
>>   #include <dirent.h>
>>   #include <setjmp.h>
>>   #include <sys/shm.h>
>> +#include <sys/resource.h>
>>     #define TESTPATH "/tmp/linux-test.tmp"
>>   #define TESTPORT 7654
>>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]