diff options
Diffstat (limited to 'src/mate-screensaver-preferences.c')
-rw-r--r-- | src/mate-screensaver-preferences.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mate-screensaver-preferences.c b/src/mate-screensaver-preferences.c index db96788..e2d5fa6 100644 --- a/src/mate-screensaver-preferences.c +++ b/src/mate-screensaver-preferences.c @@ -1337,7 +1337,9 @@ setup_for_root_user (void) } /* copied from gs-window-x11.c */ +#ifndef _GNU_SOURCE extern char **environ; +#endif static gchar ** spawn_make_environment_for_display (GdkDisplay *display, |