Added missing header to resolve implicit declaration. xwlDelegate is obsolete and needs to be removed.