Fix BlackMisc header includes

* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
This commit is contained in:
Roland Winklmeier
2016-05-11 18:35:12 +02:00
parent 20392d4aa7
commit 3d7a39ed00
375 changed files with 2750 additions and 779 deletions

View File

@@ -8,21 +8,28 @@
*/
#include "blackmisc/stacktrace.h"
#include <QMutex>
#include <stdlib.h>
#include <QByteArray>
#include <QLatin1String>
#include <QStringBuilder>
#include <QMutexLocker>
#include <array>
#if defined(Q_CC_MSVC)
# include <windows.h>
# pragma warning(push)
# pragma warning(disable:4091)
# include <dbghelp.h>
# pragma warning(pop)
#elif defined(Q_OS_WIN) && defined (Q_CC_GNU)
# include <windows.h>
# include <dbghelp.h>
#elif defined(Q_CC_GNU)
# include <execinfo.h>
# include <cxxabi.h>
# include <execinfo.h>
# include <cstring>
#endif