Add missing include.
Fix pedantic warning about typedef of size zero.
Merge pull request #17 from suraia/pedantic

Fix missing header and pedantic warnings