Commit 3ebd0d5b authored by damienf's avatar damienf
Browse files

- better fix for DIR typedef error

parent acaff8c8
......@@ -1149,6 +1149,9 @@ VLC_EXPORT( const char *, VLC_Error, ( int ) );
* Additional vlc stuff
*****************************************************************************/
#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 ) );
# include "vlc_symbols.h"
#else
......
......@@ -10,14 +10,6 @@
# error You are not supposed to include this file!
# 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 :
* 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