From acaff8c82f059724ddbbcd29a9a61c097211abdc Mon Sep 17 00:00:00 2001 From: Damien Fouilleul Date: Wed, 22 Nov 2006 11:41:59 +0000 Subject: [PATCH] it is good pratice to specify headers that define custom types --- include/vlc_symbols.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/vlc_symbols.h b/include/vlc_symbols.h index 48d7fec78a..d871303f8a 100644 --- a/include/vlc_symbols.h +++ b/include/vlc_symbols.h @@ -9,6 +9,15 @@ # ifdef HAVE_SHARED_LIBVLC # error You are not supposed to include this file! # endif + +#include /* for FILE typedef */ + +#ifdef HAVE_DIRENT_H +# include /* 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, -- 2.39.5