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

Remove useless <fcntl.h> inclusions

parent 4f9272f7
......@@ -45,7 +45,6 @@
#include <vlc_demux.h>
#include <vlc_input.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
......
......@@ -36,13 +36,6 @@
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#elif defined( WIN32 ) && !defined( UNDER_CE )
......
......@@ -42,9 +42,8 @@
# include <unistd.h>
#endif
#include <fcntl.h>
#include <sys/types.h>
#include <sys/poll.h>
#include <poll.h>
#include <errno.h>
......
......@@ -33,7 +33,6 @@
#include <errno.h>
#include <sys/types.h>
#include <fcntl.h>
#include <time.h>
#include <unistd.h>
#include <poll.h>
......
......@@ -35,7 +35,6 @@
# include <unistd.h>
#endif
#include <fcntl.h>
#include <sys/types.h>
/* Include dvbpsi headers */
......
......@@ -36,7 +36,6 @@
# include <unistd.h>
#endif
#include <fcntl.h>
#include <sys/types.h>
#include <poll.h>
......
......@@ -46,7 +46,6 @@
# include <unistd.h>
#endif
#include <fcntl.h>
#include <sys/types.h>
#ifdef HAVE_DVDREAD_DVD_READER_H
......
......@@ -38,12 +38,6 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
......
......@@ -33,7 +33,6 @@
#include <vlc_plugin.h>
#include <sys/types.h>
#include <fcntl.h>
#include <assert.h>
#include <vlc_sout.h>
......
......@@ -44,10 +44,6 @@
#include <vlc_acl.h>
#include <vlc_charset.h>
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#elif defined( WIN32 ) && !defined( UNDER_CE )
......
......@@ -30,6 +30,7 @@
#include <limits.h>
#include <errno.h>
#include <ctype.h>
#include <fcntl.h>
/* Utility function for scandir */
static int Filter( const char *foo )
......
......@@ -31,6 +31,7 @@
#include "http.h"
#include <vlc_strings.h>
#include <errno.h>
#include <fcntl.h>
/****************************************************************************
* File and directory functions
......
......@@ -38,11 +38,6 @@
#include <stdbool.h>
#include <errno.h>
#include <fcntl.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
......
......@@ -25,7 +25,6 @@
#ifdef X11_SKINS
#include <unistd.h>
#include <fcntl.h>
#include <poll.h>
#include "x11_timer.hpp"
......
......@@ -49,7 +49,6 @@
#ifdef HAVE_UNISTD_H
# include <sys/types.h>
# include <unistd.h>
# include <fcntl.h>
#endif
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
......
......@@ -30,7 +30,6 @@
#include <vlc_osd.h>
#include <vlc_memory.h>
#include <fcntl.h>
#include "dynamicoverlay.h"
/*****************************************************************************
......
......@@ -50,7 +50,6 @@
# include <unistd.h>
# include <errno.h>
# include <sys/wait.h>
# include <fcntl.h>
# include <sys/socket.h>
# include <sys/poll.h>
# ifndef PF_LOCAL
......
......@@ -36,10 +36,6 @@
#include <stdarg.h> /* va_list for BSD */
#ifdef HAVE_FCNTL_H
# include <fcntl.h> /* O_CREAT, O_TRUNC, O_WRONLY, O_SYNC */
#endif
#include <errno.h> /* errno */
#ifdef WIN32
......
......@@ -50,7 +50,6 @@
# include <unistd.h>
#else
# include <io.h>
# include <fcntl.h>
#endif
#include <search.h>
......
......@@ -45,10 +45,6 @@
# include <unistd.h>
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#ifdef HAVE_POLL
# include <poll.h>
#endif
......
......@@ -35,12 +35,6 @@
#include <errno.h>
#include <assert.h>
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
......
......@@ -31,7 +31,6 @@
#include <string.h>
#include <math.h>
#include <sys/fcntl.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <unistd.h>
......
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