From 38ad276acc6f108162c4255b837d4c450b91f23d Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 24 Aug 2011 12:12:36 +0000 Subject: (svn r22819) -Fix: include the header where it should be included --- src/genworld.cpp | 1 - src/genworld_gui.cpp | 1 - src/newgrf_config.cpp | 1 - src/progress.h | 2 ++ 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/genworld.cpp b/src/genworld.cpp index 02d9cab05..f768e39af 100644 --- a/src/genworld.cpp +++ b/src/genworld.cpp @@ -12,7 +12,6 @@ #include "stdafx.h" #include "landscape.h" #include "company_func.h" -#include "thread/thread.h" #include "genworld.h" #include "gfxinit.h" #include "window_func.h" diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index f08d32094..137b69515 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -25,7 +25,6 @@ #include "landscape_type.h" #include "querystring_gui.h" #include "town.h" -#include "thread/thread.h" #include "settings_func.h" #include "core/geometry_func.hpp" #include "core/random_func.hpp" diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp index 693339182..69bcf6f7a 100644 --- a/src/newgrf_config.cpp +++ b/src/newgrf_config.cpp @@ -18,7 +18,6 @@ #include "newgrf_text.h" #include "window_func.h" #include "progress.h" -#include "thread/thread.h" #include "video/video_driver.hpp" #include "fileio_func.h" diff --git a/src/progress.h b/src/progress.h index dd4f32420..85a27de72 100644 --- a/src/progress.h +++ b/src/progress.h @@ -12,6 +12,8 @@ #ifndef PROGRESS_H #define PROGRESS_H +#include "thread/thread.h" + static const uint MODAL_PROGRESS_REDRAW_TIMEOUT = 200; ///< Timeout between redraws /** -- cgit v1.2.3-54-g00ecf