use std::list
Fix preprocessor issue on debian