From: Cleber Rosa <crosa@redhat.com>
To: qemu-devel@nongnu.org
Cc: Cleber Rosa <crosa@redhat.com>
Subject: [Qemu-devel] [PATCH 3/6] tests/tcg/linux-test.c: include definitions for getrusage()
Date: Wed, 2 Aug 2017 16:15:09 -0400 [thread overview]
Message-ID: <20170802201512.29142-4-crosa@redhat.com> (raw)
In-Reply-To: <20170802201512.29142-1-crosa@redhat.com>
A include for <sys/resources.h> is missing, and prevents
tests/tcg/linux-test from compiling.
Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
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
--
2.9.4
next prev parent reply other threads:[~2017-08-02 20:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-02 20:15 [Qemu-devel] [PATCH 0/6] Enable building and running tcg tests on i386 Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 1/6] tests/tcg/test_path.c: include utils/bufferiszero.c Cleber Rosa
2017-08-02 21:36 ` Philippe Mathieu-Daudé
2017-08-02 22:24 ` Cleber Rosa
2017-08-17 13:26 ` Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 2/6] tests/tcg/linux-test.c: remove unused include of "qemu/cutils.h" Cleber Rosa
2017-08-02 20:15 ` Cleber Rosa [this message]
2017-08-02 21:28 ` [Qemu-devel] [PATCH 3/6] tests/tcg/linux-test.c: include definitions for getrusage() Philippe Mathieu-Daudé
2017-08-02 21:37 ` Philippe Mathieu-Daudé
2017-08-02 20:15 ` [Qemu-devel] [PATCH 4/6] tests/tcg/test-i386-fprem: build with $(QEMU_CFLAGS) Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 5/6] tests/tcg/test-i386-fprem.c: compilation fix for -Werror=strict-prototype Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 6/6] tests/tcg/test-i386-fprem.c: compilation fix for -Werror=unused-const-variable= Cleber Rosa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170802201512.29142-4-crosa@redhat.com \
--to=crosa@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.