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 57b2499..e916dd2 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 baaa24f..36c222b 100644 (file)
 #   endif
 #endif
 
-//#include "config/config.h"
-
-//#include "vlc_charset.h"
-
 /*****************************************************************************
  * Local prototypes
  *****************************************************************************/