Include calloc() etc. Wasn't compiling with recent GCC versions.
Merge pull request #1 from spyysalo/master

Include calloc() etc. Wasn't compiling with recent GCC versions.