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

Armin K. krejzi at email.com
Wed Aug 7 08:42:57 PDT 2013


On 08/07/2013 05:11 PM, Daniel Stone wrote:
> 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
> 

Okay, will send a new patch where it removes it completely.

>>  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