[bugfix] add header deprecated.hh to pass the headercheck