diff --git a/src/genworld.cpp b/src/genworld.cpp index 02d9cab050..f768e39af5 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 f08d320946..137b69515e 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 6933391820..69bcf6f7ab 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 dd4f32420a..85a27de726 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 /**