From dfb1019f3c93dbc4d1a07374a9b9b4d9a0310445 Mon Sep 17 00:00:00 2001 From: nick Date: Wed, 8 Jul 2009 10:09:19 +0100 Subject: [PATCH] Update for GCC 4.4 --- src/SDLWindow.cpp | 4 ++-- src/gui/Label.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/SDLWindow.cpp b/src/SDLWindow.cpp index 55bf54f..5627aa9 100644 --- a/src/SDLWindow.cpp +++ b/src/SDLWindow.cpp @@ -151,8 +151,8 @@ SDLWindow::SDLWindow() atexit(SDL_Quit); // Set the video mode - const int DEFAULT_WIDTH = 1024; - const int DEFAULT_HEIGHT = 768; + const int DEFAULT_WIDTH = 800; + const int DEFAULT_HEIGHT = 600; myWidth = DEFAULT_WIDTH; myHeight = DEFAULT_HEIGHT; diff --git a/src/gui/Label.cpp b/src/gui/Label.cpp index be9ed78..b4b332f 100644 --- a/src/gui/Label.cpp +++ b/src/gui/Label.cpp @@ -20,6 +20,7 @@ #include #include +#include using namespace gui; using namespace std; -- 2.39.2