On Wed, Aug 2, 2017 at 6:28 PM, Philippe Mathieu-Daudé <f4...@amsat.org> 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 <cr...@redhat.com>
>
>
> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>
>
>
>> ---
>>   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