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

Remove useless <sys/stat.h> includes

parent 22fdf98f
......@@ -39,9 +39,6 @@
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
......
......@@ -33,12 +33,10 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/poll.h>
#include <poll.h>
#include <netinet/in.h>
/* DVB Card Drivers */
......
......@@ -34,12 +34,10 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/poll.h>
#include <poll.h>
#include <vlc_charset.h>
/* DVB Card Drivers */
......
......@@ -48,7 +48,6 @@
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_DVDREAD_DVD_READER_H
#include <dvdread/dvd_reader.h>
......
......@@ -47,9 +47,6 @@
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_POLL
# include <poll.h>
#endif
......
......@@ -35,7 +35,6 @@
#include <vlc_charset.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <linux/types.h>
......
......@@ -31,7 +31,6 @@
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <fcntl.h>
#include <errno.h>
......
......@@ -33,7 +33,6 @@
#include <vlc_plugin.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <assert.h>
......
......@@ -45,9 +45,6 @@
#include <vlc_acl.h>
#include <vlc_charset.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
......
......@@ -36,7 +36,6 @@
#include <vlc_input.h>
#include <stdbool.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
......
......@@ -40,9 +40,6 @@
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h> /* open() */
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
......
......@@ -36,10 +36,6 @@
#include <vlc_strings.h>
#include <vlc_charset.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#include "vlc.h"
#include "libs.h"
#include "libs/playlist.h"
......
......@@ -42,6 +42,7 @@
#ifdef HAVE_POLL
#include <poll.h> /* poll structures and defines */
#endif
#include <sys/stat.h>
#include "../vlc.h"
#include "../libs.h"
......
......@@ -37,10 +37,6 @@
#include <vlc_stream.h>
#include <vlc_charset.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#include <lua.h> /* Low level lua C API */
#include <lauxlib.h> /* Higher level C API */
#include <lualib.h> /* Lua libs */
......
......@@ -31,10 +31,6 @@
#include <vlc_interface.h>
#include <vlc_services_discovery.h>
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#include "libmtp.h"
/*****************************************************************************
......
......@@ -50,7 +50,6 @@
# include <sys/types.h>
# include <unistd.h>
# include <fcntl.h>
# include <sys/stat.h>
#endif
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
......
......@@ -15,8 +15,6 @@
#include <stdio.h>
#include <fcntl.h>
#include <sys/stat.h>
#if !defined(WIN32)
#include <termios.h>
#include <unistd.h>
......@@ -24,7 +22,6 @@
/*
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <termios.h>
......
......@@ -55,7 +55,6 @@
# endif
# include <sys/types.h>
# include <sys/stat.h>
# include <sys/ioctl.h>
# include <sys/ioctl.h>
......
......@@ -33,7 +33,6 @@
#include <stdio.h>
#include <stdlib.h> /* free() */
#include <sys/types.h> /* opendir() */
#include <sys/stat.h>
#include <dirent.h> /* opendir() */
#include <assert.h>
#include <time.h> /* strftime */
......
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