<sys/file.h> with _KERNEL defined. Also add a 3-line XXX comment explaining some of why this is done. Should fix the build problem documented in PR#32907. Will be documented in doc/HACKS shortly. Fix discussed with thorpej.