Patchwork Add a missing #include for FreeBSD hosts

login
register
mail settings
Submitter Juergen Lock
Date March 25, 2010, 9:35 p.m.
Message ID <20100325213503.GA53095@triton8.kn-bremen.de>
Download mbox | patch
Permalink /patch/48600/
State New
Headers show

Comments

Juergen Lock - March 25, 2010, 9:35 p.m.
Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>
Aurelien Jarno - March 27, 2010, 1:38 p.m.
On Thu, Mar 25, 2010 at 10:35:03PM +0100, Juergen Lock wrote:
> Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>

Thanks applied.

> --- a/qemu-timer.c
> +++ b/qemu-timer.c
> @@ -35,6 +35,9 @@
>  #include <errno.h>
>  #include <sys/time.h>
>  #include <signal.h>
> +#ifdef __FreeBSD__
> +#include <sys/param.h>
> +#endif
>  
>  #ifdef __linux__
>  #include <sys/ioctl.h>
> 
> 
>

Patch

--- a/qemu-timer.c
+++ b/qemu-timer.c
@@ -35,6 +35,9 @@ 
 #include <errno.h>
 #include <sys/time.h>
 #include <signal.h>
+#ifdef __FreeBSD__
+#include <sys/param.h>
+#endif
 
 #ifdef __linux__
 #include <sys/ioctl.h>