]> git.sesse.net Git - vlc/commitdiff
it is good pratice to specify headers that define custom types
authorDamien Fouilleul <damienf@videolan.org>
Wed, 22 Nov 2006 11:41:59 +0000 (11:41 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Wed, 22 Nov 2006 11:41:59 +0000 (11:41 +0000)
include/vlc_symbols.h

index 48d7fec78a59a0eb90ae0b2e0395ebb3c5ba2b5c..d871303f8a917a7839d35931e624a47f43f5940a 100644 (file)
@@ -9,6 +9,15 @@
 # ifdef HAVE_SHARED_LIBVLC
 #  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,