Commit 2f1bcf5d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove inconsistently used check for <fcntl.h>

parent b8190569
...@@ -666,7 +666,7 @@ fi # end "${SYS}" != "mingw32" -a "${SYS}" != "mingwce" ...@@ -666,7 +666,7 @@ fi # end "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"
dnl Check for headers dnl Check for headers
AC_CHECK_HEADERS([search.h]) AC_CHECK_HEADERS([search.h])
AC_CHECK_HEADERS(getopt.h locale.h xlocale.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([arpa/inet.h netinet/udplite.h sys/eventfd.h])
AC_CHECK_HEADERS([net/if.h], [], [], AC_CHECK_HEADERS([net/if.h], [], [],
[ [
......
...@@ -39,9 +39,7 @@ ...@@ -39,9 +39,7 @@
#include <vlc_fs.h> #include <vlc_fs.h>
#include <vlc_picture.h> #include <vlc_picture.h>
#ifdef HAVE_FCNTL_H #include <fcntl.h>
# include <fcntl.h>
#endif
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#elif defined( WIN32 ) && !defined( UNDER_CE ) #elif defined( WIN32 ) && !defined( UNDER_CE )
......
...@@ -37,9 +37,7 @@ ...@@ -37,9 +37,7 @@
#ifdef HAVE_SYS_STAT_H #ifdef HAVE_SYS_STAT_H
# include <sys/stat.h> # include <sys/stat.h>
#endif #endif
#ifdef HAVE_FCNTL_H #include <fcntl.h>
# include <fcntl.h>
#endif
#include <errno.h> #include <errno.h>
#include <vlc_common.h> #include <vlc_common.h>
......
...@@ -33,9 +33,7 @@ ...@@ -33,9 +33,7 @@
#ifdef HAVE_SYS_STAT_H #ifdef HAVE_SYS_STAT_H
# include <sys/stat.h> # include <sys/stat.h>
#endif #endif
#ifdef HAVE_FCNTL_H #include <fcntl.h>
# include <fcntl.h>
#endif
#ifdef HAVE_FSTATVFS #ifdef HAVE_FSTATVFS
# include <sys/statvfs.h> # include <sys/statvfs.h>
# if defined (HAVE_SYS_MOUNT_H) # if defined (HAVE_SYS_MOUNT_H)
......
...@@ -36,9 +36,7 @@ ...@@ -36,9 +36,7 @@
#ifdef HAVE_SYS_STAT_H #ifdef HAVE_SYS_STAT_H
# include <sys/stat.h> # include <sys/stat.h>
#endif #endif
#ifdef HAVE_FCNTL_H #include <fcntl.h>
# include <fcntl.h>
#endif
#include <unistd.h> #include <unistd.h>
#include <poll.h> #include <poll.h>
......
...@@ -30,9 +30,7 @@ ...@@ -30,9 +30,7 @@
#include <errno.h> #include <errno.h>
#ifdef WIN32 #ifdef WIN32
# ifdef HAVE_FCNTL_H
# include <fcntl.h> # include <fcntl.h>
# endif
# ifdef HAVE_SYS_STAT_H # ifdef HAVE_SYS_STAT_H
# include <sys/stat.h> # include <sys/stat.h>
# endif # endif
......
...@@ -41,9 +41,7 @@ ...@@ -41,9 +41,7 @@
#ifdef HAVE_SYS_STAT_H #ifdef HAVE_SYS_STAT_H
# include <sys/stat.h> # include <sys/stat.h>
#endif #endif
#ifdef HAVE_FCNTL_H #include <fcntl.h>
# include <fcntl.h>
#endif
#ifdef HAVE_ARPA_INET_H #ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h> # include <arpa/inet.h>
#endif #endif
......
...@@ -51,9 +51,7 @@ See http://www.vdr-wiki.de/ and http://www.tvdr.de/ for more information. ...@@ -51,9 +51,7 @@ See http://www.vdr-wiki.de/ and http://www.tvdr.de/ for more information.
#ifdef HAVE_SYS_STAT_H #ifdef HAVE_SYS_STAT_H
# include <sys/stat.h> # include <sys/stat.h>
#endif #endif
#ifdef HAVE_FCNTL_H #include <fcntl.h>
# include <fcntl.h>
#endif
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#elif defined( WIN32 ) && !defined( UNDER_CE ) #elif defined( WIN32 ) && !defined( UNDER_CE )
......
...@@ -26,9 +26,7 @@ ...@@ -26,9 +26,7 @@
# include "config.h" # include "config.h"
#endif #endif
#ifdef HAVE_FCNTL_H #include <fcntl.h>
# include <fcntl.h>
#endif
#ifdef HAVE_SYS_STAT_H #ifdef HAVE_SYS_STAT_H
# include <sys/stat.h> # include <sys/stat.h>
#endif #endif
......
...@@ -41,9 +41,7 @@ ...@@ -41,9 +41,7 @@
#include <errno.h> #include <errno.h>
#include <assert.h> #include <assert.h>
#ifdef HAVE_FCNTL_H #include <fcntl.h>
# include <fcntl.h>
#endif
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment