added #include <cstddef> for NULL
Merge pull request #4 from wojdyr/master

added #include <cstddef> for NULL