Subject: Re: Header placement for source compatibility
To: Jared D. McNeill <jmcneill@invisible.ca>
From: Chris Pinnock <cjep@fawlty.net>
List: tech-kern
Date: 12/31/2003 16:03:23
On Wed, Dec 31, 2003 at 11:53:06AM -0400, Jared D. McNeill wrote:
> Hey folks --
> 
> I'm working on a video4linux API implementation for NetBSD, and was
> wondering where the best place to drop the userland-visible header.
> Linux installs it as /usr/include/linux/videodev.h, but since we don't
> have a linux subdirectory, I was considering keeping it consistent with
> audio(4), radio(4), midi(4), etc by installing it as
> /usr/include/sys/videoio.h. Unfortunately, this will require v4l
> applications to be patched to include the new header.

/usr/include/sys and then patch the app to look for videodev.h in the 
various places. Put the patch into pkgsrc and send it back to the original
developers. (After all there may be other patches as well.)