Subject: Header placement for source compatibility
To: None <tech-kern@netbsd.org>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: tech-kern
Date: 12/31/2003 11:53:06
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.

Any suggestions? The best I've heard so far was from Perry -- Put it in
sys/videoio.h, create /usr/include/linux, and make
/usr/include/linux/videodev.h a symlink to /usr/include/sys/videoio.h

Cheers,
Jared