Received: from eggs.gnu.org ([2001:4830:134:3::10]:57273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7RFz-0007gT-SJ for qemu-devel@nongnu.org; Tue, 23 Jun 2015 12:41:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7RFt-0006sg-TQ for qemu-devel@nongnu.org; Tue, 23 Jun 2015 12:41:07 -0400 Received: from mail-qg0-x22a.google.com ([2607:f8b0:400d:c04::22a]:32837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7RFt-0006sI-Gk for qemu-devel@nongnu.org; Tue, 23 Jun 2015 12:41:01 -0400 Received: by qged89 with SMTP id d89so5131974qge.0 for ; Tue, 23 Jun 2015 09:41:00 -0700 (PDT) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 23 Jun 2015 18:40:54 +0200 Message-Id: <1435077654-21709-1-git-send-email-marcandre.lureau@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH] tests: add missing include List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Fix make test errors of this kind on fedora 22: linux-test.c:230:19: error: storage size of ‘rusg1’ isn’t known struct rusage rusg1, rusg2; Signed-off-by: Marc-André Lureau --- tests/tcg/linux-test.c | 1 + tests/tcg/test_path.c | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/tcg/linux-test.c b/tests/tcg/linux-test.c index 1c6c013..9b3ccc3 100644 --- a/tests/tcg/linux-test.c +++ b/tests/tcg/linux-test.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #define TESTPATH "/tmp/linux-test.tmp" diff --git a/tests/tcg/test_path.c b/tests/tcg/test_path.c index 1c29bce..edf280c 100644 --- a/tests/tcg/test_path.c +++ b/tests/tcg/test_path.c @@ -7,6 +7,7 @@ #include "util/qemu-timer-common.c" #include #include +#include #include void qemu_log(const char *fmt, ...); -- 2.4.2