summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2018-02-03 19:32:16 +0000
committerAndy Williams <andy@andywilliams.me>2018-02-03 19:33:45 +0000
commitb62e25655db4ca9d7aa0c727872d897c7bf545f0 (patch)
tree74e5d0a3a5d8988abd372a36104322c741853768
parentb54b073bdc6be9923b997275cf6fa9cabbdaea75 (diff)
Fix compile error for non-c99 buidsedi-0.6
-rw-r--r--src/lib/edi_build_provider_meson.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/edi_build_provider_meson.c b/src/lib/edi_build_provider_meson.c
index 6f11f14..8d2393a 100644
--- a/src/lib/edi_build_provider_meson.c
+++ b/src/lib/edi_build_provider_meson.c
@@ -54,6 +54,8 @@ _meson_configured_check(const char *dir)
static Eina_Bool
_meson_file_hidden_is(const char *file)
{
+ size_t k;
+
if (!file || strlen(file) == 0)
return EINA_FALSE;
@@ -66,7 +68,7 @@ _meson_file_hidden_is(const char *file)
if (ecore_file_is_dir(file) && _meson_configured_check(file))
return EINA_TRUE;
- for (size_t k = 0; k < EINA_C_ARRAY_LENGTH(hidden_exts); k++)
+ for (k = 0; k < EINA_C_ARRAY_LENGTH(hidden_exts); k++)
if (eina_str_has_extension(file, hidden_exts[k]))
return EINA_TRUE;