summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-08-24 12:12:36 +0000
committerrubidium <rubidium@openttd.org>2011-08-24 12:12:36 +0000
commit38ad276acc6f108162c4255b837d4c450b91f23d (patch)
tree1f8aeeb31d4dab0eba9a70a31f04dadd35caa966 /src
parent9fe4b959ac90c91185ea0974f9a4d16091b0d3aa (diff)
downloadopenttd-38ad276acc6f108162c4255b837d4c450b91f23d.tar.xz
(svn r22819) -Fix: include the header where it should be included
Diffstat (limited to 'src')
-rw-r--r--src/genworld.cpp1
-rw-r--r--src/genworld_gui.cpp1
-rw-r--r--src/newgrf_config.cpp1
-rw-r--r--src/progress.h2
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
/**