Changeset 6c1ee3a269cd6496fe59aeb3f93f6448af387de3

Show
Ignore:
Timestamp:
06/08/05 13:45:34 (3 years ago)
Author:
Christophe Massiot <massiot@videolan.org>
git-committer:
Christophe Massiot <massiot@videolan.org> 1123328734 +0000
git-parent:

[1da4cee504d32b96d9ac77d655942a6d15c2cb34]

git-author:
Christophe Massiot <massiot@videolan.org> 1123328734 +0000
Message:
  • src/extras/libc.c: Fixed compilation on systems without scandir().
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_common.h

    r1da4cee r6c1ee3a  
    842842#   define scandir vlc_scandir 
    843843#   define alphasort vlc_alphasort 
     844    struct dirent; 
    844845    VLC_EXPORT( int, vlc_scandir, ( const char *name, struct dirent ***namelist, int (*filter) ( const struct dirent * ), int (*compar) ( const struct dirent **, const struct dirent ** ) ) ); 
    845846    VLC_EXPORT( int, vlc_alphasort, ( const struct dirent **a, const struct dirent **b ) ); 
  • src/extras/libc.c

    rf9d13dd r6c1ee3a  
    3939#endif 
    4040 
     41#ifdef HAVE_DIRENT_H 
     42#   include <dirent.h> 
     43#endif 
     44 
    4145/***************************************************************************** 
    4246 * getenv: just in case, but it should never be called