add missing header for sscanf and printf