Include string.h for memset() prototype.  Thanks Dmitri.