From 20ecff81b0960b5bd5dfc9704bb09ee23bddd4cb Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 23 Dec 2007 11:20:41 +0000 Subject: (svn r11685) -Codechange: remove a few 'useless' includes. --- src/bmp.cpp | 2 +- src/gui.h | 1 - src/textbuf_gui.h | 1 + src/town_cmd.cpp | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/bmp.cpp b/src/bmp.cpp index dc6d11ef7..0dc5cd8f2 100644 --- a/src/bmp.cpp +++ b/src/bmp.cpp @@ -3,7 +3,7 @@ /** @file bmp.cpp */ #include "stdafx.h" -#include "openttd.h" +#include "helpers.hpp" #include "bmp.h" #include "core/bitmath_func.hpp" diff --git a/src/gui.h b/src/gui.h index d48e83ee1..c758f13c2 100644 --- a/src/gui.h +++ b/src/gui.h @@ -5,7 +5,6 @@ #ifndef GUI_H #define GUI_H -#include "string.h" #include "window_type.h" #include "vehicle_type.h" #include "gfx_type.h" diff --git a/src/textbuf_gui.h b/src/textbuf_gui.h index 8dc1c6fc2..612c4a5d2 100644 --- a/src/textbuf_gui.h +++ b/src/textbuf_gui.h @@ -5,6 +5,7 @@ #ifndef TEXTBUF_GUI_H #define TEXTBUF_GUI_H +#include "string.h" #include "window_type.h" struct Textbuf { diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index ccd4c723c..4e982e94d 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -43,6 +43,7 @@ #include "transparency.h" #include "tunnelbridge_map.h" #include "strings_func.h" +#include "string.h" /* Initialize the town-pool */ -- cgit v1.2.3-70-g09d2