summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-23 11:20:41 +0000
committerrubidium <rubidium@openttd.org>2007-12-23 11:20:41 +0000
commit970fd6220a51e43c5a43f55a1b4a80f98feb9531 (patch)
tree93d18ebe5e80e94d035c62d95d793b2d75710c66
parenta773d45885eac803e794c622a4dfae3f03cc5cb1 (diff)
downloadopenttd-970fd6220a51e43c5a43f55a1b4a80f98feb9531.tar.xz
(svn r11685) -Codechange: remove a few 'useless' includes.
-rw-r--r--src/bmp.cpp2
-rw-r--r--src/gui.h1
-rw-r--r--src/textbuf_gui.h1
-rw-r--r--src/town_cmd.cpp1
4 files changed, 3 insertions, 2 deletions
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 */