build fix: 'for' loop initial declarations are only allowed in C99 mode
Merge pull request #53 from krnlyng/buildfix

build fix: 'for' loop initial declarations are only allowed in C99 mode