qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: "Marc-André Lureau" <marcandre.lureau@gmail.com>,
	qemu-devel@nongnu.org, "Peter Maydell" <peter.maydell@linaro.org>
Subject: Re: [Qemu-devel] [PATCH] tests: add missing include
Date: Wed, 24 Jun 2015 14:39:34 +0200	[thread overview]
Message-ID: <558AA506.9000201@suse.de> (raw)
In-Reply-To: <1435077654-21709-1-git-send-email-marcandre.lureau@gmail.com>

Am 23.06.2015 um 18:40 schrieb Marc-André Lureau:
> 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 <marcandre.lureau@gmail.com>
> ---
>  tests/tcg/linux-test.c | 1 +
>  tests/tcg/test_path.c  | 1 +
>  2 files changed, 2 insertions(+)

I believe I already submitted such a patch and more. Peter didn't want
to take them last minute for 2.3 - Peter, can you please reconsider that
now?

Regards,
Andreas

> 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 <sched.h>
>  #include <dirent.h>
>  #include <setjmp.h>
> +#include <sys/resource.h>
>  #include <sys/shm.h>
>  
>  #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 <stdarg.h>
>  #include <sys/stat.h>
> +#include <sys/resource.h>
>  #include <fcntl.h>
>  
>  void qemu_log(const char *fmt, ...);
> 


-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton; HRB
21284 (AG Nürnberg)

  reply	other threads:[~2015-06-24 12:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-23 16:40 [Qemu-devel] [PATCH] tests: add missing include Marc-André Lureau
2015-06-24 12:39 ` Andreas Färber [this message]
2015-06-24 14:13   ` Peter Maydell

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=558AA506.9000201@suse.de \
    --to=afaerber@suse.de \
    --cc=marcandre.lureau@gmail.com \
    --cc=peter.maydell@linaro.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).