misc.h: include string.h for memcmp.