$DESTDIR/usr/include/sys/ioctl.h $DESTDIR/usr/include/sys/ioctl_compat.h so ioctl.c is generated properly using 2.0 include files in $DESTDIR.
and then also add a declaration of ernno as an extern int, because we lose that due to having KERNEL defined while we include errno.h. Reviewed by: Geoff.