diff options
author | Pablo Barciela <[email protected]> | 2019-11-03 02:05:32 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-11-28 01:02:37 +0100 |
commit | 0f240b82d887ee9be6c62489c10548db028de7bb (patch) | |
tree | 4685b62ddaaea642500aa83daede024e000e9bdc /src/mate-screensaver-preferences.c | |
parent | f941ba280dda69e2370c87d257aa664998b12b27 (diff) | |
download | mate-screensaver-0f240b82d887ee9be6c62489c10548db028de7bb.tar.bz2 mate-screensaver-0f240b82d887ee9be6c62489c10548db028de7bb.tar.xz |
avoid redundant redeclarations
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, |