summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-11-23 13:45:12 +0000
committertruelight <truelight@openttd.org>2005-11-23 13:45:12 +0000
commitb8f8f3869d3e16aa914133c3ba2c4a66a94068bc (patch)
tree1f0b144b32441c61ec79a6f570613dccc8902008
parent08b990886d490279d4849a7694376cdec76cc228 (diff)
downloadopenttd-b8f8f3869d3e16aa914133c3ba2c4a66a94068bc.tar.xz
(svn r3231) Fix: update the GPMI implementation to the latest GPMI-API version
-rw-r--r--Makefile2
-rw-r--r--openttd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 529477e82..c513f3091 100644
--- a/Makefile
+++ b/Makefile
@@ -358,7 +358,7 @@ CFLAGS += $(BASECFLAGS)
# See if we want to enable GPMI
ifdef GPMI
-CFLAGS += -DGPMI
+CFLAGS += -DGPMI `gpmi-config --include`
GPMI_STATIC_PATH = `gpmi-config --static`
LDFLAGS += -rdynamic `gpmi-config --libs`
# Static link paths into the game
diff --git a/openttd.c b/openttd.c
index caff336bd..c219fb3cc 100644
--- a/openttd.c
+++ b/openttd.c
@@ -45,7 +45,7 @@
#ifdef GPMI
#include <gpmi.h>
-#include <gpmi/packages/paths.h>
+#include <gpmi_pkg/paths.h>
#endif /* GPMI */
void GenerateWorld(int mode, uint size_x, uint size_y);