From 6d9288118f81d2b4b2fbef7932aedb1b06d2d90c Mon Sep 17 00:00:00 2001
From: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Date: Wed, 28 Oct 2009 09:51:19 +0100
Subject: [PATCH] Debugger: Add missing include for intptr-types.

---
 share/qtcreator/gdbmacros/gdbmacros.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/share/qtcreator/gdbmacros/gdbmacros.cpp b/share/qtcreator/gdbmacros/gdbmacros.cpp
index 7746670f381..df2f1b9565a 100644
--- a/share/qtcreator/gdbmacros/gdbmacros.cpp
+++ b/share/qtcreator/gdbmacros/gdbmacros.cpp
@@ -57,6 +57,10 @@
 #include <QtCore/QTextStream>
 #include <QtCore/QVector>
 
+#ifndef Q_OS_WIN
+#    include <stdint.h>
+#endif
+
 #if (QT_POINTER_SIZE==4) // How to printf/scanf a pointer (uintptr_t)
 #    define POINTER_PRINTFORMAT "0x%x"
 #else
-- 
GitLab