[PATCH] cms-colord: Don't define _GNU_SOURCE if it's defined already

Daniel Stone daniel at fooishbar.org
Wed Aug 7 08:11:03 PDT 2013


Hi,

On 7 August 2013 16:02, Armin K <krejzi at email.com> wrote:
> warning: "_GNU_SOURCE" redefined [enabled by default]

The _GNU_SOURCE define isn't needed at all, cf. c228e23b.

Cheers,
Daniel

>  src/cms-colord.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/cms-colord.c b/src/cms-colord.c
> index 6056407..29f005d 100644
> --- a/src/cms-colord.c
> +++ b/src/cms-colord.c
> @@ -24,7 +24,9 @@
>  #include <config.h>
>  #endif
>
> +#ifndef _GNU_SOURCE
>  #define _GNU_SOURCE
> +#endif
>  #include <fcntl.h>
>  #include <unistd.h>
>  #include <stdio.h>
> --
> 1.8.3.4
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list