#include <vlc_demux.h>
#include <vlc_input.h>
-#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#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 )
# include <unistd.h>
#endif
-#include <fcntl.h>
#include <sys/types.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <errno.h>
#include <errno.h>
#include <sys/types.h>
-#include <fcntl.h>
#include <time.h>
#include <unistd.h>
#include <poll.h>
# include <unistd.h>
#endif
-#include <fcntl.h>
#include <sys/types.h>
/* Include dvbpsi headers */
# include <unistd.h>
#endif
-#include <fcntl.h>
#include <sys/types.h>
#include <poll.h>
# include <unistd.h>
#endif
-#include <fcntl.h>
#include <sys/types.h>
#ifdef HAVE_DVDREAD_DVD_READER_H
#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
#include <vlc_plugin.h>
#include <sys/types.h>
-#include <fcntl.h>
#include <assert.h>
#include <vlc_sout.h>
#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 )
#include <limits.h>
#include <errno.h>
#include <ctype.h>
+#include <fcntl.h>
/* Utility function for scandir */
static int Filter( const char *foo )
#include "http.h"
#include <vlc_strings.h>
#include <errno.h>
+#include <fcntl.h>
/****************************************************************************
* File and directory functions
#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>
#ifdef X11_SKINS
#include <unistd.h>
-#include <fcntl.h>
#include <poll.h>
#include "x11_timer.hpp"
#ifdef HAVE_UNISTD_H
# include <sys/types.h>
# include <unistd.h>
-# include <fcntl.h>
#endif
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#include <vlc_osd.h>
#include <vlc_memory.h>
-#include <fcntl.h>
#include "dynamicoverlay.h"
/*****************************************************************************
# include <unistd.h>
# include <errno.h>
# include <sys/wait.h>
-# include <fcntl.h>
# include <sys/socket.h>
# include <sys/poll.h>
# ifndef PF_LOCAL
#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
# include <unistd.h>
#else
# include <io.h>
-# include <fcntl.h>
#endif
#include <search.h>
# include <unistd.h>
#endif
-#ifdef HAVE_FCNTL_H
-# include <fcntl.h>
-#endif
-
#ifdef HAVE_POLL
# include <poll.h>
#endif
#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
#include <string.h>
#include <math.h>
-#include <sys/fcntl.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <unistd.h>