The source project of this merge request has been removed.
src/wayland-util.c: fix build with gcc 4.8
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
Fixes:
Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com