t* My OpenBSD ports URI git clone git://git.codevoid.de/mystuff.git DIR Log DIR Files DIR Refs --- tpatch-plugins_linux-v4l2_v4l2-controls_c (383B) --- 1 $OpenBSD$ 2 3 Index: plugins/linux-v4l2/v4l2-controls.c 4 --- plugins/linux-v4l2/v4l2-controls.c.orig 5 +++ plugins/linux-v4l2/v4l2-controls.c 6 @@ -17,7 +17,11 @@ along with this program. If not, see <http://www.gnu. 7 8 #include <fcntl.h> 9 10 +#if defined(__OpenBSD__) 11 +#include <sys/videoio.h> 12 +#else 13 #include <linux/videodev2.h> 14 +#endif 15 #include <libv4l2.h> 16 17 #include "v4l2-controls.h"