summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArvid Ephraim Picciani <arvid.picciani@nokia.com>2010-08-30 15:33:15 (GMT)
committerArvid Ephraim Picciani <arvid.picciani@nokia.com>2010-08-30 15:41:45 (GMT)
commita753ba665b4f32303e9af5d8ef1826e0493ccb5f (patch)
tree488169d3520bb0fbf0b843d9c0766dbe0fda7cdf
parent768157866b60e465357effb98d5c4e291b0467b6 (diff)
downloadQt-a753ba665b4f32303e9af5d8ef1826e0493ccb5f.zip
Qt-a753ba665b4f32303e9af5d8ef1826e0493ccb5f.tar.gz
Qt-a753ba665b4f32303e9af5d8ef1826e0493ccb5f.tar.bz2
Fix incorrect include order
Reviewed-by: Olivier Goffart
-rw-r--r--src/corelib/plugin/qelfparser_p.cpp3
-rw-r--r--src/corelib/plugin/qelfparser_p.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/corelib/plugin/qelfparser_p.cpp b/src/corelib/plugin/qelfparser_p.cpp
index 571022f..97008fd 100644
--- a/src/corelib/plugin/qelfparser_p.cpp
+++ b/src/corelib/plugin/qelfparser_p.cpp
@@ -41,13 +41,12 @@
#include "qlibrary_p.h"
#include "qelfparser_p.h"
+#include <qdebug.h>
QT_BEGIN_NAMESPACE
// #define QELFPARSER_DEBUG 1
-#include <qdebug.h>
-
const char *QElfParser::parseSectionHeader(const char *data, ElfSectionHeader *sh)
{
sh->name = read<qelfword_t>(data);
diff --git a/src/corelib/plugin/qelfparser_p.h b/src/corelib/plugin/qelfparser_p.h
index 672122a..380d5a1 100644
--- a/src/corelib/plugin/qelfparser_p.h
+++ b/src/corelib/plugin/qelfparser_p.h
@@ -58,6 +58,9 @@
QT_BEGIN_NAMESPACE
+class QString;
+class QLibraryPrivate;
+
typedef quint16 qelfhalf_t;
typedef quint32 qelfword_t;
typedef quintptr qelfoff_t;