wave: add <time.h> missing header inclusion