$NetBSD: patch-ba,v 1.1 2008/09/07 17:28:23 jmcneill Exp $ --- sys/v4l2/gstv4l2object.h.orig 2008-09-07 12:07:01.000000000 -0400 +++ sys/v4l2/gstv4l2object.h 2008-09-07 12:08:10.000000000 -0400 @@ -37,13 +37,17 @@ * errors here, check your linux/time.h && sys/time.h header setup. */ #include -#ifndef __sun +#if !defined(__sun) && !defined(__NetBSD__) #include #define _LINUX_TIME_H #define __user #include #else +#ifdef __sun #include +#else +#include +#endif #endif #include