img-view.c: In function 'real_view_window_new':
img-view.c:889: error: 'for' loop initial declarations are only allowed in C99 mode
img-view.c:889: note: use option -std=c99 or -std=gnu99 to compile your code
}
/* Wait until image is loaded otherwise size is not defined */
- for (int count = 10; count && !w && !h; count++)
+ int count;
+ for (count = 10; count && !w && !h; count++)
{
image_get_image_size(vw->imd, &w, &h);
usleep(100000);