Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
4e2ad6df
Commit
4e2ad6df
authored
Sep 05, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
videodev2.h: fixes for non Linux builds
Signed-off-by:
Rafaël Carré
<
funman@videolan.org
>
parent
602d9e21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
modules/access/v4l2/videodev2.h
modules/access/v4l2/videodev2.h
+34
-0
No files found.
modules/access/v4l2/videodev2.h
View file @
4e2ad6df
...
@@ -58,8 +58,42 @@
...
@@ -58,8 +58,42 @@
#include <sys/time.h>
#include <sys/time.h>
#ifdef __linux__
#include <linux/ioctl.h>
#include <linux/ioctl.h>
#include <linux/types.h>
#include <linux/types.h>
#else
#include <sys/ioctl.h>
#ifndef HAVE_LINUX_INTEGER_TYPES
#ifndef __u64
typedef
uint64_t
__u64
;
#endif
#ifndef __le32
typedef
uint32_t
__le32
;
#endif
#ifndef __u32
typedef
uint32_t
__u32
;
#endif
#ifndef __u16
typedef
uint16_t
__u16
;
#endif
#ifndef __u8
typedef
uint8_t
__u8
;
#endif
#ifndef __s64
typedef
int64_t
__s64
;
#endif
#ifndef __s32
typedef
int32_t
__s32
;
#endif
#ifndef __s16
typedef
int16_t
__s16
;
#endif
#ifndef __s8
typedef
int8_t
__s8
;
#endif
#endif
#endif
/*
/*
* Common stuff for both V4L1 and V4L2
* Common stuff for both V4L1 and V4L2
...
...
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