README for XFree86 3.3.2 on OpenBSD : Rebuilding the XFree86 Distribution : console.h and ioctl_pc.h files:
Previous: Console drivers
Next: Building on other architectures

## 9.2. console.h and ioctl_pc.h files:

If you want to build a server supporting codrv and you don't already have the corresponding header file `ioctl_pc.h` installed in `/usr/include/machine`, then install the copy that is supplied in `xc/programs/Xserver/hw/xfree86/etc`. If you run OpenBSD-current you probably want to install it in `/usr/src/sys/arch/i386/include` too, so that it get reinstalled each time you run `make includes`.

If you have installed the codrv console driver, this file should be taken from your installed version of the driver.

The `console.h` file for syscons isn't distributed with XFree86 anymore. You should get it from the syscons distribution.

README for XFree86 3.3.2 on OpenBSD : Rebuilding the XFree86 Distribution : console.h and ioctl_pc.h files:
Previous: Console drivers
Next: Building on other architectures