diff --git a/legacy/elementary/src/bin/test_fileselector.c b/legacy/elementary/src/bin/test_fileselector.c index 28fb30dee3..a0bd61d129 100644 --- a/legacy/elementary/src/bin/test_fileselector.c +++ b/legacy/elementary/src/bin/test_fileselector.c @@ -518,7 +518,9 @@ test_fileselector(void *data EINA_UNUSED, { Evas_Object *win, *fs, *box, *vbox, *sep; char * home_env; +#ifdef _WIN32 char win_home_env[PATH_MAX]; +#endif /* Set the locale according to the system pref. * If you don't do so the file selector will order the files list in diff --git a/legacy/elementary/src/bin/test_panel.c b/legacy/elementary/src/bin/test_panel.c index a4137025a5..36cd3c245a 100644 --- a/legacy/elementary/src/bin/test_panel.c +++ b/legacy/elementary/src/bin/test_panel.c @@ -92,7 +92,9 @@ _fill_list(Evas_Object *obj, Elm_Genlist_Item_Class *itc) Eina_List *l; char *real; char *home_env = NULL; +#ifdef _WIN32 char win_home_env[PATH_MAX]; +#endif unsigned int x = 0; if (!dirs)