mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user