View Single Post
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#193
Originally Posted by marmistrz View Post
I added videodev3.h to linux/ subdir in the project directory, now I'm missing linux/compiler.h which makes it fail to build.
I would try to change the include line to videodev2.h and using the kernel sources and see if it builds correct.

The videodev3.h is like some newer videodev2.h files. It means it has already Flash and privacy (indicator) light controls included.
I guess it was renamed to not change the original header but have this indicator light controls.

In the Kernel Plus sources it is included in videodev2.h maybe try using these header files.

https://github.com/hurrian/kernel-pl.../include/linux

The compiler.h is also a Kernel header file.