qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] ui/gtk: Fix build (missing include for setlocal


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] ui/gtk: Fix build (missing include for setlocale)
Date: Fri, 22 Feb 2013 07:14:39 -0600
User-agent: Notmuch/0.13.2+93~ged93d79 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu)

Stefan Weil <address@hidden> writes:

> At least for Ubuntu Linux locale.h is needed.
>
> Signed-off-by: Stefan Weil <address@hidden>

Thanks, what version of Ubuntu?  I'm running 11.10 and don't have this
problem.

Regards,

Anthony Liguori

> ---
>
> This is a build regression, please apply without waiting for qemu-trivial.
>
> Thanks,
> Stefan
>
>  ui/gtk.c |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/ui/gtk.c b/ui/gtk.c
> index 29156be..5f91de4 100644
> --- a/ui/gtk.c
> +++ b/ui/gtk.c
> @@ -37,6 +37,7 @@
>  #include <gtk/gtk.h>
>  #include <gdk/gdkkeysyms.h>
>  #include <glib/gi18n.h>
> +#include <locale.h>
>  #include <vte/vte.h>
>  #include <sys/types.h>
>  #include <sys/socket.h>
> -- 
> 1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]