[vlc-commits] ML: Qt4: Include config.h to fix plugin linking.
Konstantin Pavlov
git at videolan.org
Thu Mar 24 15:00:01 CET 2011
vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Thu Mar 24 16:56:16 2011 +0300| [1e9a300ef8d0ac357fedaf9ebcdad7250fc57ae0] | committer: Konstantin Pavlov
ML: Qt4: Include config.h to fix plugin linking.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e9a300ef8d0ac357fedaf9ebcdad7250fc57ae0
---
modules/gui/qt4/components/playlist/ml_item.cpp | 4 ++++
modules/gui/qt4/components/playlist/ml_model.cpp | 4 ++++
modules/gui/qt4/dialogs/ml_configuration.cpp | 7 ++++++-
3 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/ml_item.cpp b/modules/gui/qt4/components/playlist/ml_item.cpp
index ddf3148..89b5829 100644
--- a/modules/gui/qt4/components/playlist/ml_item.cpp
+++ b/modules/gui/qt4/components/playlist/ml_item.cpp
@@ -25,6 +25,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifdef MEDIA_LIBRARY
#include <QDateTime>
diff --git a/modules/gui/qt4/components/playlist/ml_model.cpp b/modules/gui/qt4/components/playlist/ml_model.cpp
index ea339b2..623fdbf 100644
--- a/modules/gui/qt4/components/playlist/ml_model.cpp
+++ b/modules/gui/qt4/components/playlist/ml_model.cpp
@@ -25,6 +25,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifdef MEDIA_LIBRARY
#include <QUrl>
diff --git a/modules/gui/qt4/dialogs/ml_configuration.cpp b/modules/gui/qt4/dialogs/ml_configuration.cpp
index 6500ae7..7fa9d38 100644
--- a/modules/gui/qt4/dialogs/ml_configuration.cpp
+++ b/modules/gui/qt4/dialogs/ml_configuration.cpp
@@ -24,9 +24,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#include "ml_configuration.hpp"
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifdef MEDIA_LIBRARY
+#include "ml_configuration.hpp"
+
#include <QTreeView>
#include <QPushButton>
#include <QDialogButtonBox>
More information about the vlc-commits
mailing list