README for XFree86 3.3.2 on NetBSD : Rebuilding the XFree86 Distribution : pcvt_ioctl.h file:
Previous: Console drivers
Next: console.h and ioctl_pc.h files:

## 8.2. pcvt_ioctl.h file:

XFree86's defaults config includes support for the PCVT console driver. Unfortunately, NetBSD doesn't install the `pcvt_ioctl.h` file in `/usr/include/machine`. If you want to build XFree86 with PCVT support, execute the following command as root before starting `make World`:

> `

>     cp /usr/src/sys/arch/i386/isa/pcvt/pcvt_ioctl.h /usr/include/machine

> `

If you don't have kernel sources, you can grab this file from ftp.netbsd.org or one of its mirrors. If you're not running PCVT, you can remove -DPCVT_SUPPORT from XFree86ConsoleDefines in `xf86site.def` too.

If you have a full source tree, you may want to copy this file to `/usr/src/sys/arch/i386/include`, so that it gets reinstalled every time you run `make includes`.

This problem is documented in NetBSD PR#1391, which has not been handled yes.

README for XFree86 3.3.2 on NetBSD : Rebuilding the XFree86 Distribution : pcvt_ioctl.h file:
Previous: Console drivers
Next: console.h and ioctl_pc.h files: