On Mon, Jan 04, 2021 at 06:09:07PM +0100, Roger Pau Monné wrote: > We usually take a different approach for Linux and FreeBSD in > order to support all kernels: test if the new ioctl is available, or > else fallback to the old implementation. But this requires having the > new header even on old systems in order to have the ioctl definition > for the build, even if it's not implemented on the currently running > kernel. > > I guess you would have to use preprocessor conditionals in order to > keep the build on older versions when adding the new features.
Or just assume that version X of Xen needs version Y of NetBSD. This is already the case, because of bug fixes. -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --