src/wayland-util.c: fix build with gcc 4.8

Fabrice Fontaine requested to merge (removed):main into main

Fix the following build failure with gcc 4.8 raised since 80164ef3:

../src/wayland-util.c: In function 'for_each_helper':
../src/wayland-util.c:373:2: error: 'for' loop initial declarations are only allowed in C99 mode
  for (size_t idx = 0; idx < count; idx++) {
../src/wayland-util.c:373:2: note: use option -std=c99 or -std=gnu99 to compile your code


Signed-off-by: Fabrice Fontaine

Merge request reports