summaryrefslogtreecommitdiff
path: root/src/mate-screensaver-preferences.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-11-03 02:05:32 +0100
committerZenWalker <[email protected]>2019-11-28 01:02:37 +0100
commit0f240b82d887ee9be6c62489c10548db028de7bb (patch)
tree4685b62ddaaea642500aa83daede024e000e9bdc /src/mate-screensaver-preferences.c
parentf941ba280dda69e2370c87d257aa664998b12b27 (diff)
downloadmate-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.c2
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,