From: Anthony Liguori <anthony@codemonkey.ws>
To: Andreas Faerber <andreas.faerber@web.de>
Cc: qemu-devel@nongnu.org, Juergen Lock <nox@jelal.kn-bremen.de>
Subject: Re: [Qemu-devel] [PATCH for-1.1] qemu-timer: Move include for __FreeBSD_version to header
Date: Tue, 08 May 2012 12:29:21 -0500 [thread overview]
Message-ID: <4FA957F1.9000308@codemonkey.ws> (raw)
In-Reply-To: <1336241320-4257-1-git-send-email-andreas.faerber@web.de>
On 05/05/2012 01:08 PM, Andreas Faerber wrote:
> sys/param.h is needed for __FreeBSD_version.
> Pointed out by Juergen, thanks.
>
> Signed-off-by: Andreas Faerber<andreas.faerber@web.de>
> Cc: Juergen Lock<nox@jelal.kn-bremen.de>
Applied. Thanks.
Regards,
Anthony Liguori
> ---
> qemu-timer.c | 4 ----
> qemu-timer.h | 4 ++++
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/qemu-timer.c b/qemu-timer.c
> index 8eadd16..970b8b4 100644
> --- a/qemu-timer.c
> +++ b/qemu-timer.c
> @@ -31,10 +31,6 @@
>
> #include "qemu-timer.h"
>
> -#ifdef __FreeBSD__
> -#include<sys/param.h>
> -#endif
> -
> #ifdef _WIN32
> #include<mmsystem.h>
> #endif
> diff --git a/qemu-timer.h b/qemu-timer.h
> index 5175419..f8af595 100644
> --- a/qemu-timer.h
> +++ b/qemu-timer.h
> @@ -5,6 +5,10 @@
> #include "main-loop.h"
> #include "notify.h"
>
> +#ifdef __FreeBSD__
> +#include<sys/param.h>
> +#endif
> +
> /* timers */
>
> #define SCALE_MS 1000000
prev parent reply other threads:[~2012-05-08 17:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-05 18:08 [Qemu-devel] [PATCH for-1.1] qemu-timer: Move include for __FreeBSD_version to header Andreas Faerber
2012-05-08 17:29 ` Anthony Liguori [this message]
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=4FA957F1.9000308@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=andreas.faerber@web.de \
--cc=nox@jelal.kn-bremen.de \
--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).