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