]> git.sesse.net Git - vlc/commitdiff
Remove useless <dirent.h> check
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 3 Aug 2010 16:00:32 +0000 (19:00 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 3 Aug 2010 16:21:34 +0000 (19:21 +0300)
configure.ac
modules/access/directory.c
modules/control/http/http.h
modules/demux/mkv/mkv.hpp
modules/gui/skins2/src/theme_loader.cpp
modules/gui/skins2/src/theme_repository.cpp
modules/misc/gnutls.c
src/extras/libc.c
src/input/subtitles.c
src/modules/modules.c
src/text/filesystem.c

index d9da6a9df445ad4c9bea2876c5d8fff8c6cdde8a..e256ea0ac1aa36f946c6a3ed157a201cf2b375c4 100644 (file)
@@ -827,9 +827,6 @@ then
 fi
 ])
 
-dnl Check for dirent
-AC_CHECK_HEADERS(dirent.h)
-
 dnl Mac OS X and other OSes don't have declaration for nanosleep
 if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"; then
 AC_MSG_CHECKING(for nanosleep in time.h)
index 121f6225044f8bf8aa744654d52739209228983a..b778cf0e252ff37cac3c064a0a556c3092462a77 100644 (file)
@@ -46,9 +46,6 @@
 #   include <io.h>
 #endif
 
-#ifdef HAVE_DIRENT_H
-#   include <dirent.h>
-#endif
 #ifdef __sun__
 static inline int dirfd (DIR *dir)
 {
index 0eb33f490abddca1270bce10402183174a4b776a..ebf1efa4e9336fd42762627eac19f0d702864b5f 100644 (file)
 #   include <io.h>
 #endif
 
-#ifdef HAVE_DIRENT_H
-#   include <dirent.h>
-#endif
-
 /* stat() support for large files on win32 */
 #if defined( WIN32 ) && !defined( UNDER_CE )
 #   define stat _stati64
index 6b46c2a28dc0666d0ab9eb69a6743c6ed55d27cb..296ef1316bbe4c6a7114aeab8d1a2e70b31f270e 100644 (file)
 #include <vector>
 #include <algorithm>
 
-#ifdef HAVE_DIRENT_H
-#   include <dirent.h>
-#endif
-
 /* libebml and matroska */
 #include "ebml/EbmlHead.h"
 #include "ebml/EbmlSubHead.h"
index d1f76f23f0fd0897b70f7afab84b181dc016b2fa..7a67113c8831ecae8093979ad8f229f9a50af5fe 100644 (file)
 #   include <direct.h>
 #endif
 
-#ifdef HAVE_DIRENT_H
-#   include <dirent.h>
-#endif
-
-
 #if defined( HAVE_ZLIB_H )
 #   include <zlib.h>
 #   include <errno.h>
index 1dc83b1c594b4be84a159f4c208a3ef3e759ffac..0e335c97f729a160eb2b954c94182698133a60fd 100644 (file)
@@ -30,9 +30,6 @@
 #elif defined( WIN32 ) && !defined( UNDER_CE )
 #   include <direct.h>
 #endif
-#ifdef HAVE_DIRENT_H
-#   include <dirent.h>
-#endif
 
 #include <fstream>
 
index 5b7a82b63011e5255923a6c3751ae2b0378eec33..5c527d2b1213045745417c5f204533ba898f747e 100644 (file)
@@ -36,9 +36,6 @@
 
 #include <sys/types.h>
 #include <errno.h>
-#ifdef HAVE_DIRENT_H
-# include <dirent.h>
-#endif
 #ifdef HAVE_SYS_STAT_H
 # include <sys/stat.h>
 #endif
index 1be7fe81c84a4d3c2490142d4254f6f46e37d852..b0d17d191c4c0fdde046615178f3da71b2173d1f 100644 (file)
@@ -32,6 +32,7 @@
 #include <vlc_common.h>
 
 #include <errno.h>
+#include <dirent.h>
 
 #undef iconv_t
 #undef iconv_open
 #   include <iconv.h>
 #endif
 
-#ifdef HAVE_DIRENT_H
-#   include <dirent.h>
-#endif
-
 #ifdef HAVE_FORK
 #   include <signal.h>
 #   include <unistd.h>
index 3881d2f76ddb088ff06c334010da93a89ec3e55a..9c6843d6ba26f9ba9b0c86ea51b239a5e5b0c7e6 100644 (file)
 #include <vlc_fs.h>
 #include <vlc_url.h>
 
-#ifdef HAVE_DIRENT_H
-#   include <dirent.h>
-#endif
-
 #ifdef HAVE_UNISTD_H
 #   include <unistd.h>
 #endif
index 15feab162a7f0218125c9fea26adff7dee695acf..f6f0e750dfe029b80eb08f9887de5a49d824058a 100644 (file)
 #include <string.h>                                              /* strdup() */
 #include <assert.h>
 
-#ifdef HAVE_DIRENT_H
-#   include <dirent.h>
-#endif
-
 #include <sys/types.h>
 #ifdef HAVE_SYS_STAT_H
 #   include <sys/stat.h>
index d2f5324394810dcd5ffac2fb5e5494ae3191138f..e7a65b800736589f79e5bf6cd064e1a6936d9185 100644 (file)
@@ -43,9 +43,7 @@
 #endif
 #include <errno.h>
 #include <sys/types.h>
-#ifdef HAVE_DIRENT_H
-#  include <dirent.h>
-#endif
+#include <dirent.h>
 #ifdef HAVE_SYS_STAT_H
 # include <sys/stat.h>
 #endif