Patchwork usb/redirect.c: unbreak compilation due to include/char/char.h

login
register
mail settings
Submitter Alon Levy
Date Dec. 23, 2012, 9:25 p.m.
Message ID <1356297909-4446-1-git-send-email-alevy@redhat.com>
Download mbox | patch
Permalink /patch/207990/
State New
Headers show

Comments

Alon Levy - Dec. 23, 2012, 9:25 p.m.
Broken since:

commit 927d4878b0ff319ed87fed9363f314613b0a5ed9
Author: Paolo Bonzini <pbonzini@redhat.com>
Date:   Mon Dec 17 18:20:05 2012 +0100

    softmmu: move remaining include files to include/ subdirectories

Signed-off-by: Alon Levy <alevy@redhat.com>
---
 hw/usb/redirect.c | 1 +
 1 file changed, 1 insertion(+)
Blue Swirl - Dec. 28, 2012, 8:08 p.m.
Thanks, applied.

On Sun, Dec 23, 2012 at 9:25 PM, Alon Levy <alevy@redhat.com> wrote:
> Broken since:
>
> commit 927d4878b0ff319ed87fed9363f314613b0a5ed9
> Author: Paolo Bonzini <pbonzini@redhat.com>
> Date:   Mon Dec 17 18:20:05 2012 +0100
>
>     softmmu: move remaining include files to include/ subdirectories
>
> Signed-off-by: Alon Levy <alevy@redhat.com>
> ---
>  hw/usb/redirect.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
> index b65e868..0abe1ff 100644
> --- a/hw/usb/redirect.c
> +++ b/hw/usb/redirect.c
> @@ -30,6 +30,7 @@
>  #include "monitor/monitor.h"
>  #include "sysemu/sysemu.h"
>  #include "qemu/iov.h"
> +#include "char/char.h"
>
>  #include <dirent.h>
>  #include <sys/ioctl.h>
> --
> 1.8.0.1
>
>

Patch

diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
index b65e868..0abe1ff 100644
--- a/hw/usb/redirect.c
+++ b/hw/usb/redirect.c
@@ -30,6 +30,7 @@ 
 #include "monitor/monitor.h"
 #include "sysemu/sysemu.h"
 #include "qemu/iov.h"
+#include "char/char.h"
 
 #include <dirent.h>
 #include <sys/ioctl.h>