Commit
3c923d075 introduced a C99ism by declaring a variable in a for loop,
don't do that, especially since there already is a variable named "i"
declared.
This should fix the build when -std=c89 is used.
This should be backported if commit
3c923d075 is backported.
/* At this point, target names have already been resolved. */
/***********************************************************/
- for (int i = 0; i < global.nbthread; i++) {
+ for (i = 0; i < global.nbthread; i++) {
idle_conn_srv[i] = EB_ROOT;
idle_conn_task[i] = task_new_on(i);
if (!idle_conn_task[i]) {