]> git.sesse.net Git - vlc/commitdiff
Remove some cruft
authorRémi Denis-Courmont <rem@videolan.org>
Wed, 12 Dec 2007 16:46:40 +0000 (16:46 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Wed, 12 Dec 2007 16:46:40 +0000 (16:46 +0000)
src/modules/cache.c
src/modules/os.c

index 57b249907fe18ec87efaa99cf9d872552b5df6a9..e916dd2eb945c00bef46b9f5887edf0a121189ff 100644 (file)
 #include <vlc/vlc.h>
 #include "libvlc.h"
 
-/* Some faulty libcs have a broken struct dirent when _FILE_OFFSET_BITS
- * is set to 64. Don't try to be cleverer. */
-#ifdef _FILE_OFFSET_BITS
-#undef _FILE_OFFSET_BITS
-#endif
-
 #include <stdlib.h>                                      /* free(), strtol() */
 #include <stdio.h>                                              /* sprintf() */
 #include <string.h>                                              /* strdup() */
 
-#ifdef HAVE_DIRENT_H
-#   include <dirent.h>
-#endif
-
 #ifdef HAVE_SYS_TYPES_H
 #   include <sys/types.h>
 #endif
-#ifdef HAVE_SYS_STAT_H
-#   include <sys/stat.h>
-#endif
 #ifdef HAVE_UNISTD_H
 #   include <unistd.h>
 #endif
@@ -81,7 +68,6 @@
 #include "vlc_charset.h"
 
 #include "modules/modules.h"
-#include "modules/builtin.h"
 
 
 /*****************************************************************************
index baaa24fdc5d8d4542f6bb1b4939718688b7cdfad..36c222bdb32d91ed5360e824a10de2ce372c3b37 100644 (file)
 #   endif
 #endif
 
-//#include "config/config.h"
-
-//#include "vlc_charset.h"
-
 /*****************************************************************************
  * Local prototypes
  *****************************************************************************/