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
commit062d654df11a2a5d2bfa62a12781ed8665ed394f (patch)
tree1f0b144b32441c61ec79a6f570613dccc8902008
parent97b3afe9ae4c632b5224a758e5bb04ef1cb92a3b (diff)
downloadopenttd-062d654df11a2a5d2bfa62a12781ed8665ed394f.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);