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
2f1bcf5d
Commit
2f1bcf5d
authored
Jan 27, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove inconsistently used check for <fcntl.h>
parent
b8190569
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
28 deletions
+10
-28
configure.ac
configure.ac
+1
-1
modules/access/dc1394.c
modules/access/dc1394.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/mtp.c
modules/access/mtp.c
+1
-3
modules/access/smb.c
modules/access/smb.c
+1
-3
modules/access/vcd/cdrom.c
modules/access/vcd/cdrom.c
+1
-3
modules/access/vdr.c
modules/access/vdr.c
+1
-3
modules/gui/skins2/src/theme_loader.cpp
modules/gui/skins2/src/theme_loader.cpp
+1
-3
src/network/io.c
src/network/io.c
+1
-3
No files found.
configure.ac
View file @
2f1bcf5d
...
...
@@ -666,7 +666,7 @@ fi # end "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"
dnl Check for headers
AC_CHECK_HEADERS([search.h])
AC_CHECK_HEADERS(getopt.h locale.h xlocale.h)
AC_CHECK_HEADERS(
fcntl.h sys/time.h sys/ioctl.h sys/stat.h
)
AC_CHECK_HEADERS(
[sys/time.h sys/ioctl.h sys/stat.h]
)
AC_CHECK_HEADERS([arpa/inet.h netinet/udplite.h sys/eventfd.h])
AC_CHECK_HEADERS([net/if.h], [], [],
[
...
...
modules/access/dc1394.c
View file @
2f1bcf5d
...
...
@@ -39,9 +39,7 @@
#include <vlc_fs.h>
#include <vlc_picture.h>
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#elif defined( WIN32 ) && !defined( UNDER_CE )
...
...
modules/access/dvdnav.c
View file @
2f1bcf5d
...
...
@@ -37,9 +37,7 @@
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#include <fcntl.h>
#include <errno.h>
#include <vlc_common.h>
...
...
modules/access/file.c
View file @
2f1bcf5d
...
...
@@ -33,9 +33,7 @@
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#include <fcntl.h>
#ifdef HAVE_FSTATVFS
# include <sys/statvfs.h>
# if defined (HAVE_SYS_MOUNT_H)
...
...
modules/access/mtp.c
View file @
2f1bcf5d
...
...
@@ -36,9 +36,7 @@
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#include <fcntl.h>
#include <unistd.h>
#include <poll.h>
...
...
modules/access/smb.c
View file @
2f1bcf5d
...
...
@@ -30,9 +30,7 @@
#include <errno.h>
#ifdef WIN32
# ifdef HAVE_FCNTL_H
# include <fcntl.h>
# endif
# ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
# endif
...
...
modules/access/vcd/cdrom.c
View file @
2f1bcf5d
...
...
@@ -41,9 +41,7 @@
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#include <fcntl.h>
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
...
...
modules/access/vdr.c
View file @
2f1bcf5d
...
...
@@ -51,9 +51,7 @@ See http://www.vdr-wiki.de/ and http://www.tvdr.de/ for more information.
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#elif defined( WIN32 ) && !defined( UNDER_CE )
...
...
modules/gui/skins2/src/theme_loader.cpp
View file @
2f1bcf5d
...
...
@@ -26,9 +26,7 @@
# include "config.h"
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#include <fcntl.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
...
...
src/network/io.c
View file @
2f1bcf5d
...
...
@@ -41,9 +41,7 @@
#include <errno.h>
#include <assert.h>
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
# include <unistd.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