gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / desktop / mate / mate-screensaver / patches / 01-def-environ.patch
blob13ace2b20ce524c273f88547bba450362816a188
1 avoid error:
2 error: 'environ' undeclared (first use in this function)
4 diff --git a/src/mate-screensaver-preferences.c b/src/mate-screensaver-preferences.c
5 index 3c7621a..56685a4 100644
6 --- a/src/mate-screensaver-preferences.c
7 +++ b/src/mate-screensaver-preferences.c
8 @@ -25,7 +25,6 @@
10 #include "config.h"
12 -#define _GNU_SOURCE
13 #include <unistd.h>
14 #include <stdlib.h>
15 #include <string.h>