Refactor header inclusion
Fix code style.

- Do not use size-unspecified integer type except int.
- Do not use variable-sized array.