Subject: Header placement for source compatibility
To: None <>
From: Jared D. McNeill <>
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