[vlc-devel] commit: Missing #include ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Mar 29 10:30:24 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sat Mar 29 11:30:46 2008 +0200| [f684355f6fb4e5478372b28c6f66afa82a5ba0e2]

Missing #include

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f684355f6fb4e5478372b28c6f66afa82a5ba0e2
---

 src/input/meta.c                  |    2 ++
 src/input/vlm.c                   |    1 +
 src/misc/xml.c                    |    2 +-
 src/playlist/services_discovery.c |    1 +
 4 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/input/meta.c b/src/input/meta.c
index 538951f..4ced9e4 100644
--- a/src/input/meta.c
+++ b/src/input/meta.c
@@ -42,6 +42,8 @@
 #   include <sys/stat.h>
 #endif
 
+#include "../libvlc.h"
+
 static const char * meta_type_to_string[VLC_META_TYPE_COUNT] =
 {
     [vlc_meta_Title]            = N_("Title"),
diff --git a/src/input/vlm.c b/src/input/vlm.c
index 230259f..3138e91 100644
--- a/src/input/vlm.c
+++ b/src/input/vlm.c
@@ -57,6 +57,7 @@
 #include <vlc_charset.h>
 #include <vlc_sout.h>
 #include "../stream_output/stream_output.h"
+#include "../libvlc.h"
 
 /*****************************************************************************
  * Local prototypes.
diff --git a/src/misc/xml.c b/src/misc/xml.c
index c9f16fb..9030fbb 100644
--- a/src/misc/xml.c
+++ b/src/misc/xml.c
@@ -26,8 +26,8 @@
 #endif
 
 #include <vlc/vlc.h>
-
 #include "vlc_xml.h"
+#include "../libvlc.h"
 
 /*****************************************************************************
  * xml_Create:
diff --git a/src/playlist/services_discovery.c b/src/playlist/services_discovery.c
index d938c43..3c89c48 100644
--- a/src/playlist/services_discovery.c
+++ b/src/playlist/services_discovery.c
@@ -29,6 +29,7 @@
 #include "vlc_playlist.h"
 #include "vlc_events.h"
 #include "playlist_internal.h"
+#include "../libvlc.h"
 
 static void RunSD( services_discovery_t *p_sd );
 




More information about the vlc-devel mailing list