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

Remove inconsistently used check for <fcntl.h>

parent b8190569
......@@ -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], [], [],
[
......
......@@ -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 )
......
......@@ -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>
......
......@@ -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)
......
......@@ -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>
......
......@@ -30,9 +30,7 @@
#include <errno.h>
#ifdef WIN32
# ifdef HAVE_FCNTL_H
# include <fcntl.h>
# endif
# include <fcntl.h>
# ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
# endif
......
......@@ -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
......
......@@ -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 )
......
......@@ -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
......
......@@ -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
......
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