fix compile with kernel headers from new kernels (e.g. 2.6.39.3)

v4l support has been dropped in recent kernel versions and therefore <linux/videodev.h> is gone. If you want to compile with new kernel headers add -DNEW_CST_KERNEL to your neutrino CFLAGS

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1603 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 09a496cdfa
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-07-27 (Wed, 27 Jul 2011)

Origin message was:
------------------
- fix compile with kernel headers from new kernels (e.g. 2.6.39.3)

v4l support has been dropped in recent kernel versions and therefore <linux/videodev.h> is gone. If you want to compile with new kernel headers add -DNEW_CST_KERNEL to your neutrino CFLAGS

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1603 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
This commit is contained in:
gixxpunk
2011-07-27 16:45:58 +00:00
parent 36c8e1f135
commit a8b945a4a0

View File

@@ -31,7 +31,10 @@
#include <linux/fb.h>
#include <linux/input.h>
#ifndef NEW_CST_KERNEL
#include <linux/videodev.h>
#endif
#include <sys/ioctl.h>
#include <sys/mman.h>