summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2007-01-15 17:32:01 +0000
committercelestar <celestar@openttd.org>2007-01-15 17:32:01 +0000
commit0fbdae2828f74774ed80d72fd191c318179c33ce (patch)
treeb9ef69b4581a74749e8ba22d639a34db7ac4fe38
parent7b9379e0deea3e4b6e20361abceab31ce5550fd2 (diff)
downloadopenttd-0fbdae2828f74774ed80d72fd191c318179c33ce.tar.xz
(svn r8146) -Fix (FS#552, r8038): a C/C++ linkage problem on some very few incarnations of gcc
-rw-r--r--src/variables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/variables.h b/src/variables.h
index 63e229a09..4a9c8cecd 100644
--- a/src/variables.h
+++ b/src/variables.h
@@ -10,6 +10,8 @@
# define MAX_PATH 260
#endif
+#include "gfx.h"
+
// Prices and also the fractional part.
VARDEF Prices _price;
VARDEF uint16 _price_frac[NUM_PRICES];