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
commita12b640f94cf46cde67402e1bb19678d9dbcf565 (patch)
treeb9ef69b4581a74749e8ba22d639a34db7ac4fe38
parent4c18106f9a0ae423acd36b3da69c0602cfd80a72 (diff)
downloadopenttd-a12b640f94cf46cde67402e1bb19678d9dbcf565.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];