The current answer is incomplete. Installing libv4l-dev creates /usr/include/linux/videodev2.h but does not solve the stated problem of being unable to find linux/videodev.h . The library stores header files for compatibility, but you cannot place them where applications will look for them.
sudo apt-get install libv4l-dev cd /usr/include/linux sudo ln -s ../libv4l1-videodev.h videodev.h
This provides linux/videodev.h and the correct version (1).
bukzor Dec 25 2018-12-12T00: 00Z
source share