Added missing sf_res.h include in sw sources