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
a6d927b0
Commit
a6d927b0
authored
Jan 16, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove sys/types.h check
We assume it is present in plenty of places anyway
parent
23767715
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
19 additions
and
62 deletions
+19
-62
configure.ac
configure.ac
+1
-1
modules/access/directory.c
modules/access/directory.c
+1
-3
modules/access/dv.c
modules/access/dv.c
+1
-3
modules/access/dvdnav.c
modules/access/dvdnav.c
+1
-3
modules/access/file.c
modules/access/file.c
+1
-3
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+1
-3
modules/access/mtp.c
modules/access/mtp.c
+1
-3
modules/access/vcd/cdrom.c
modules/access/vcd/cdrom.c
+1
-3
modules/control/netsync.c
modules/control/netsync.c
+1
-3
modules/demux/mp4/drms.c
modules/demux/mp4/drms.c
+1
-3
modules/demux/subtitle.c
modules/demux/subtitle.c
+0
-3
modules/demux/subtitle_asa.c
modules/demux/subtitle_asa.c
+0
-4
modules/misc/dummy/decoder.c
modules/misc/dummy/decoder.c
+1
-3
modules/misc/svg.c
modules/misc/svg.c
+1
-3
src/control/mediacontrol_audio_video.c
src/control/mediacontrol_audio_video.c
+1
-3
src/control/mediacontrol_core.c
src/control/mediacontrol_core.c
+1
-3
src/control/mediacontrol_util.c
src/control/mediacontrol_util.c
+1
-3
src/modules/cache.c
src/modules/cache.c
+1
-3
src/modules/modules.c
src/modules/modules.c
+1
-3
src/modules/os.c
src/modules/os.c
+1
-3
src/network/getaddrinfo.c
src/network/getaddrinfo.c
+1
-3
No files found.
configure.ac
View file @
a6d927b0
...
...
@@ -842,7 +842,7 @@ AC_EGREP_HEADER(strncasecmp,strings.h,[
dnl Check for headers
AC_CHECK_HEADERS(getopt.h strings.h locale.h xlocale.h)
AC_CHECK_HEADERS(fcntl.h sys/t
ypes.h sys/t
ime.h sys/ioctl.h sys/stat.h sys/mount.h)
AC_CHECK_HEADERS(fcntl.h sys/time.h sys/ioctl.h sys/stat.h sys/mount.h)
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h netinet/udplite.h sys/eventfd.h])
AC_CHECK_HEADERS([net/if.h], [], [],
[
...
...
modules/access/directory.c
View file @
a6d927b0
...
...
@@ -34,9 +34,7 @@
#include "fs.h"
#include <vlc_access.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
...
...
modules/access/dv.c
View file @
a6d927b0
...
...
@@ -33,9 +33,7 @@
#include <vlc_access.h>
#include <errno.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#elif defined( WIN32 ) && !defined( UNDER_CE )
...
...
modules/access/dvdnav.c
View file @
a6d927b0
...
...
@@ -42,9 +42,7 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
...
...
modules/access/file.c
View file @
a6d927b0
...
...
@@ -35,9 +35,7 @@
#include <assert.h>
#include <errno.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
...
...
modules/access/mms/mmstu.c
View file @
a6d927b0
...
...
@@ -38,9 +38,7 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#ifdef HAVE_POLL
# include <poll.h>
#endif
...
...
modules/access/mtp.c
View file @
a6d927b0
...
...
@@ -38,9 +38,7 @@
#include <assert.h>
#include <errno.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
...
...
modules/access/vcd/cdrom.c
View file @
a6d927b0
...
...
@@ -39,9 +39,7 @@
# include <unistd.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
...
...
modules/control/netsync.c
View file @
a6d927b0
...
...
@@ -37,9 +37,7 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#ifdef HAVE_POLL
# include <poll.h>
#endif
...
...
modules/demux/mp4/drms.c
View file @
a6d927b0
...
...
@@ -51,9 +51,7 @@
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
/* In Solaris (and perhaps others) PATH_MAX is in limits.h. */
#include <limits.h>
...
...
modules/demux/subtitle.c
View file @
a6d927b0
...
...
@@ -36,9 +36,6 @@
#include <vlc_input.h>
#include <vlc_memory.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <ctype.h>
#include <vlc_demux.h>
...
...
modules/demux/subtitle_asa.c
View file @
a6d927b0
...
...
@@ -35,10 +35,6 @@
#include <vlc_input.h>
#include <vlc_memory.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <vlc_demux.h>
#include <vlc_charset.h>
...
...
modules/misc/dummy/decoder.c
View file @
a6d927b0
...
...
@@ -32,14 +32,12 @@
#include <vlc_codec.h>
#include <vlc_charset.h>
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
/* write(), close() */
#elif defined( WIN32 ) && !defined( UNDER_CE )
# include <io.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
/* open() */
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
...
...
modules/misc/svg.c
View file @
a6d927b0
...
...
@@ -37,9 +37,7 @@
#include <vlc_block.h>
#include <vlc_filter.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
...
...
src/control/mediacontrol_audio_video.c
View file @
a6d927b0
...
...
@@ -44,9 +44,7 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
mediacontrol_RGBPicture
*
mediacontrol_snapshot
(
mediacontrol_Instance
*
self
,
...
...
src/control/mediacontrol_core.c
View file @
a6d927b0
...
...
@@ -46,9 +46,7 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
mediacontrol_Instance
*
mediacontrol_new
(
int
argc
,
char
**
argv
,
mediacontrol_Exception
*
exception
)
{
...
...
src/control/mediacontrol_util.c
View file @
a6d927b0
...
...
@@ -40,9 +40,7 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
libvlc_time_t
private_mediacontrol_unit_convert
(
libvlc_media_player_t
*
p_media_player
,
mediacontrol_PositionKey
from
,
...
...
src/modules/cache.c
View file @
a6d927b0
...
...
@@ -37,9 +37,7 @@
#include <vlc_plugin.h>
#include <vlc_cpu.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
...
...
src/modules/modules.c
View file @
a6d927b0
...
...
@@ -42,9 +42,7 @@
# include <dirent.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
...
...
src/modules/os.c
View file @
a6d927b0
...
...
@@ -38,9 +38,7 @@
#include <stdio.h>
/* sprintf() */
#include <string.h>
/* strdup() */
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#if !defined(HAVE_DYNAMIC_PLUGINS)
/* no support for plugins */
...
...
src/network/getaddrinfo.c
View file @
a6d927b0
...
...
@@ -35,9 +35,7 @@
#include <errno.h>
#include <assert.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <sys/types.h>
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
...
...
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