From f857abac2a5835b56db2d526a1aefdb2fb0780ba Mon Sep 17 00:00:00 2001 From: sinamas Date: Fri, 24 Aug 2007 03:18:53 +0000 Subject: [PATCH] Don't depend on Qt for stl includes. git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@10 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24 --- gambatte_qt/src/blitterwidgets/qglblitter.cpp | 3 ++- gambatte_qt/src/blitterwidgets/qglblitter.h | 1 + gambatte_qt/src/blitterwidgets/qpainterblitter.cpp | 2 ++ gambatte_qt/src/blitterwidgets/qpainterblitter.h | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gambatte_qt/src/blitterwidgets/qglblitter.cpp b/gambatte_qt/src/blitterwidgets/qglblitter.cpp index 09c5cb2..6fb9139 100644 --- a/gambatte_qt/src/blitterwidgets/qglblitter.cpp +++ b/gambatte_qt/src/blitterwidgets/qglblitter.cpp @@ -23,9 +23,10 @@ #include #include #include - #include +#include + #ifdef PLATFORM_WIN32 #include #endif diff --git a/gambatte_qt/src/blitterwidgets/qglblitter.h b/gambatte_qt/src/blitterwidgets/qglblitter.h index df57cf0..0bdde42 100644 --- a/gambatte_qt/src/blitterwidgets/qglblitter.h +++ b/gambatte_qt/src/blitterwidgets/qglblitter.h @@ -20,6 +20,7 @@ #define QGLBLITTER_H #include "../blitterwidget.h" +#include class QGLSubWidget; class QCheckBox; diff --git a/gambatte_qt/src/blitterwidgets/qpainterblitter.cpp b/gambatte_qt/src/blitterwidgets/qpainterblitter.cpp index f69d13f..07a2d22 100644 --- a/gambatte_qt/src/blitterwidgets/qpainterblitter.cpp +++ b/gambatte_qt/src/blitterwidgets/qpainterblitter.cpp @@ -25,6 +25,8 @@ #include #include +#include + QPainterBlitter::QPainterBlitter(VideoBufferReseter &resetVideoBuffer_in, QWidget *parent) : BlitterWidget("QPainter", true, parent), resetVideoBuffer(resetVideoBuffer_in), diff --git a/gambatte_qt/src/blitterwidgets/qpainterblitter.h b/gambatte_qt/src/blitterwidgets/qpainterblitter.h index d4b7991..00c1dd9 100644 --- a/gambatte_qt/src/blitterwidgets/qpainterblitter.h +++ b/gambatte_qt/src/blitterwidgets/qpainterblitter.h @@ -20,6 +20,7 @@ #define QPAINTERBLITTER_H #include "../blitterwidget.h" +#include class QPainter; class QImage;