summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-12-25 23:47:02 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-12-25 23:52:02 (GMT)
commit63bd10ae61ed0b877344b217e57eb87f77256e98 (patch)
treee4c2d2c92922114cde811776a84b70de65e191f8
parente6f6ba99253aaac496083b4cf122b095f21b43b3 (diff)
downloadQt-63bd10ae61ed0b877344b217e57eb87f77256e98.zip
Qt-63bd10ae61ed0b877344b217e57eb87f77256e98.tar.gz
Qt-63bd10ae61ed0b877344b217e57eb87f77256e98.tar.bz2
Don't include dlfcn.h unconditionally.
Task-number: QTBUG-3344 Reviewed-by: Trust Me
-rw-r--r--mkspecs/linux-g++/qplatformdefs.h1
-rw-r--r--src/gui/embedded/qscreen_qws.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/linux-g++/qplatformdefs.h b/mkspecs/linux-g++/qplatformdefs.h
index ecfbc73..00f1b51 100644
--- a/mkspecs/linux-g++/qplatformdefs.h
+++ b/mkspecs/linux-g++/qplatformdefs.h
@@ -67,7 +67,6 @@
#include <grp.h>
#include <pwd.h>
#include <signal.h>
-#include <dlfcn.h>
#include <sys/types.h>
#include <sys/ioctl.h>
diff --git a/src/gui/embedded/qscreen_qws.cpp b/src/gui/embedded/qscreen_qws.cpp
index ae5570f..07bb258 100644
--- a/src/gui/embedded/qscreen_qws.cpp
+++ b/src/gui/embedded/qscreen_qws.cpp
@@ -3150,6 +3150,7 @@ int QScreen::subScreenIndexAt(const QPoint &p) const
#if 0
#ifdef QT_LOADABLE_MODULES
+#include <dlfcn.h>
// ### needs update after driver init changes