Hi Mauro, On 11/21/16 15:33, Mauro Carvalho Chehab wrote: > Em Thu, 27 Oct 2016 13:50:51 +0300 > Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> escreveu: > >> struct timeval and struct timespec are defined in linux/time.h. Explicitly >> include the header if __KERNEL__ is defined. > > The patch below doesn't do what you're mentioned above. It unconditionally > include linux/time.h, and, for userspace, it will *also* include > sys/time.h... My bad... I thought writing a single line patch would be easy. ;-) Will fix. > > I suspect that this would cause problems on userspace. > > Btw, you didn't mention on your description what's the bug you're > trying to fix. The problem is a compiler error due to lacking defition for a struct. I'll add that to v2. -- Regards, Sakari Ailus sakari.ailus@xxxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html