From 062d654df11a2a5d2bfa62a12781ed8665ed394f Mon Sep 17 00:00:00 2001 From: truelight Date: Wed, 23 Nov 2005 13:45:12 +0000 Subject: [PATCH] (svn r3231) Fix: update the GPMI implementation to the latest GPMI-API version --- Makefile | 2 +- openttd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 529477e82a..c513f30913 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 caff336bdc..c219fb3cc0 100644 --- a/openttd.c +++ b/openttd.c @@ -45,7 +45,7 @@ #ifdef GPMI #include -#include +#include #endif /* GPMI */ void GenerateWorld(int mode, uint size_x, uint size_y);