From b8f8f3869d3e16aa914133c3ba2c4a66a94068bc Mon Sep 17 00:00:00 2001 From: truelight Date: Wed, 23 Nov 2005 13:45:12 +0000 Subject: (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 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 -#include +#include #endif /* GPMI */ void GenerateWorld(int mode, uint size_x, uint size_y); -- cgit v1.2.3-70-g09d2