Hi,

On Thu, May 30, 2019 at 03:22:46PM +0100, Frediano Ziglio wrote:
> In some configuration _GNU_SOURCE is defined by the compiler
> and defining again cause a warning.
> Do not define again to avoid the warning.

Not a problem with the patch but we is it the case we should fix
some troubling configurations too?

For the patch,
Acked-by: Victor Toso <victort...@redhat.com>

> 
> Signed-off-by: Frediano Ziglio <fzig...@redhat.com>
> ---
>  server/red-worker.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/server/red-worker.c b/server/red-worker.c
> index d64c26e83..b3335a53a 100644
> --- a/server/red-worker.c
> +++ b/server/red-worker.c
> @@ -17,7 +17,9 @@
>  */
>  #include <config.h>
>  
> +#ifndef _GNU_SOURCE
>  #define _GNU_SOURCE
> +#endif
>  #include <stdio.h>
>  #include <stdarg.h>
>  #include <stdlib.h>
> -- 
> 2.20.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to