Commit 3ebd0d5b authored by Damien Fouilleul's avatar Damien Fouilleul

- better fix for DIR typedef error

parent acaff8c8
...@@ -1149,6 +1149,9 @@ VLC_EXPORT( const char *, VLC_Error, ( int ) ); ...@@ -1149,6 +1149,9 @@ VLC_EXPORT( const char *, VLC_Error, ( int ) );
* Additional vlc stuff * Additional vlc stuff
*****************************************************************************/ *****************************************************************************/
#ifndef HAVE_SHARED_LIBVLC #ifndef HAVE_SHARED_LIBVLC
# ifdef HAVE_DIRENT_H
# include <dirent.h> /* for DIR typedef in vlc_symbols.h */
# endif
VLC_EXPORT( const char *, VLC_Changeset, ( void ) ); VLC_EXPORT( const char *, VLC_Changeset, ( void ) );
# include "vlc_symbols.h" # include "vlc_symbols.h"
#else #else
......
...@@ -10,14 +10,6 @@ ...@@ -10,14 +10,6 @@
# error You are not supposed to include this file! # error You are not supposed to include this file!
# endif # endif
#include <stdio.h> /* for FILE typedef */
#ifdef HAVE_DIRENT_H
# include <dirent.h> /* for DIR typedef */
#else
typedef void DIR;
#endif
/* /*
* This is the big VLC API structure for plugins : * This is the big VLC API structure for plugins :
* Changing its layout breaks plugin's binary compatibility, * Changing its layout breaks plugin's binary compatibility,
......
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