Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
e4616d86
Commit
e4616d86
authored
Mar 25, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DTV: more helpful error if kernel headers are old
parent
781e3ddb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
modules/access/dtv/linux.c
modules/access/dtv/linux.c
+8
-0
No files found.
modules/access/dtv/linux.c
View file @
e4616d86
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
#include <poll.h>
#include <poll.h>
#include <unistd.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <linux/dvb/version.h>
#include <linux/dvb/frontend.h>
#include <linux/dvb/frontend.h>
#include <linux/dvb/dmx.h>
#include <linux/dvb/dmx.h>
...
@@ -41,6 +42,13 @@
...
@@ -41,6 +42,13 @@
# define O_SEARCH O_RDONLY
# define O_SEARCH O_RDONLY
#endif
#endif
#define DVBv5(minor) \
(DVB_API_VERSION > 5 \
|| (DVB_API_VERSION == 5 && DVB_API_VERSION_MINOR >= (minor)))
#if !DVBv5(0)
# error Linux DVB kernel headers version 2.6.28 or later required.
#endif
/** Opens the device directory for the specified DVB adapter */
/** Opens the device directory for the specified DVB adapter */
static
int
dvb_open_adapter
(
uint8_t
adapter
)
static
int
dvb_open_adapter
(
uint8_t
adapter
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment