include <cstring> in XfileModel.cpp