[vlc-devel] commit: libvlc: include config.h when needed ( Rafaël Carré )

git version control git at videolan.org
Mon Aug 31 15:14:50 CEST 2009


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Mon Aug 31 15:14:05 2009 +0200| [e573d94d0f56bc534f7b165b408b4e0ea5e3965d] | committer: Rafaël Carré 

libvlc: include config.h when needed

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

 src/control/core.c                              |    4 ++++
 src/control/event.c                             |    4 ++++
 src/control/event_async.c                       |    4 ++++
 src/control/flat_media_list_view.c              |    4 ++++
 src/control/hierarchical_media_list_view.c      |    4 ++++
 src/control/hierarchical_node_media_list_view.c |    4 ++++
 src/control/log.c                               |    4 ++++
 src/control/media_discoverer.c                  |    4 ++++
 src/control/media_list.c                        |    4 ++++
 src/control/media_list_player.c                 |    4 ++++
 src/control/media_list_view.c                   |    4 ++++
 src/control/playlist.c                          |    4 ++++
 src/control/video.c                             |    4 ++++
 13 files changed, 52 insertions(+), 0 deletions(-)

diff --git a/src/control/core.c b/src/control/core.c
index 2cbfd85..25f190e 100644
--- a/src/control/core.c
+++ b/src/control/core.c
@@ -21,6 +21,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "libvlc_internal.h"
 #include <vlc/libvlc.h>
 
diff --git a/src/control/event.c b/src/control/event.c
index 7b94557..724bd5d 100644
--- a/src/control/event.c
+++ b/src/control/event.c
@@ -22,6 +22,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/libvlc.h>
 
 #include "libvlc_internal.h"
diff --git a/src/control/event_async.c b/src/control/event_async.c
index a23f5d1..ecb6fa8 100644
--- a/src/control/event_async.c
+++ b/src/control/event_async.c
@@ -22,6 +22,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <assert.h>
 
 #include <vlc/libvlc.h>
diff --git a/src/control/flat_media_list_view.c b/src/control/flat_media_list_view.c
index e5f5140..d497bc8 100644
--- a/src/control/flat_media_list_view.c
+++ b/src/control/flat_media_list_view.c
@@ -21,6 +21,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <assert.h>
 
 #include <vlc/libvlc.h>
diff --git a/src/control/hierarchical_media_list_view.c b/src/control/hierarchical_media_list_view.c
index ee89ba8..649d40b 100644
--- a/src/control/hierarchical_media_list_view.c
+++ b/src/control/hierarchical_media_list_view.c
@@ -21,6 +21,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/libvlc.h>
 #include <vlc/libvlc_media.h>
 #include <vlc/libvlc_media_list.h>
diff --git a/src/control/hierarchical_node_media_list_view.c b/src/control/hierarchical_node_media_list_view.c
index fed4899..bffd6ec 100644
--- a/src/control/hierarchical_node_media_list_view.c
+++ b/src/control/hierarchical_node_media_list_view.c
@@ -22,6 +22,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/libvlc.h>
 #include <vlc/libvlc_media.h>
 #include <vlc/libvlc_media_list.h>
diff --git a/src/control/log.c b/src/control/log.c
index a45bf72..e6b066d 100644
--- a/src/control/log.c
+++ b/src/control/log.c
@@ -22,6 +22,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "libvlc_internal.h"
 #include <vlc/libvlc.h>
 #include <assert.h>
diff --git a/src/control/media_discoverer.c b/src/control/media_discoverer.c
index 94b4b0a..e7f479e 100644
--- a/src/control/media_discoverer.c
+++ b/src/control/media_discoverer.c
@@ -21,6 +21,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <assert.h>
 
 #include <vlc/libvlc.h>
diff --git a/src/control/media_list.c b/src/control/media_list.c
index 5fa3252..5cebf41 100644
--- a/src/control/media_list.c
+++ b/src/control/media_list.c
@@ -21,6 +21,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <assert.h>
 
 #include <vlc/libvlc.h>
diff --git a/src/control/media_list_player.c b/src/control/media_list_player.c
index 5402400..e273a4b 100644
--- a/src/control/media_list_player.c
+++ b/src/control/media_list_player.c
@@ -21,6 +21,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/libvlc.h>
 #include <vlc/libvlc_media.h>
 #include <vlc/libvlc_media_list.h>
diff --git a/src/control/media_list_view.c b/src/control/media_list_view.c
index 62818f8..d4a56fc 100644
--- a/src/control/media_list_view.c
+++ b/src/control/media_list_view.c
@@ -22,6 +22,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/libvlc.h>
 #include <vlc/libvlc_media.h>
 #include <vlc/libvlc_media_list.h>
diff --git a/src/control/playlist.c b/src/control/playlist.c
index fe882bc..b1c7cce 100644
--- a/src/control/playlist.c
+++ b/src/control/playlist.c
@@ -21,6 +21,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "libvlc_internal.h"
 #include "libvlc.h"
 
diff --git a/src/control/video.c b/src/control/video.c
index ffe7e56..9274ea0 100644
--- a/src/control/video.c
+++ b/src/control/video.c
@@ -25,6 +25,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/libvlc.h>
 #include <vlc/libvlc_media.h>
 #include <vlc/libvlc_media_player.h>




More information about the vlc-devel mailing list