summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
/**