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 #include +#ifndef Q_OS_WIN +# include +#endif + #if (QT_POINTER_SIZE==4) // How to printf/scanf a pointer (uintptr_t) # define POINTER_PRINTFORMAT "0x%x" #else