From 528fce72627493a302febc521417992f25e570f8 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 17 Aug 2015 17:44:27 +0100 Subject: Fix OS3 build --- amiga/os3support.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/amiga/os3support.c b/amiga/os3support.c index f4d857a78..7235d8c56 100644 --- a/amiga/os3support.c +++ b/amiga/os3support.c @@ -33,6 +33,7 @@ #include #include +#include #include #include @@ -68,7 +69,7 @@ struct OutlineFont *OpenOutlineFont(STRPTR fileName, struct List *list, ULONG fl return NULL; } - if(Read(fh, &magic, sizeof(struct FontContentsHeader)) != sizeof(struct FontContentsHeader)) { + if(Read(fh, &fch, sizeof(struct FontContentsHeader)) != sizeof(struct FontContentsHeader)) { LOG("Unable to read FONT %s", fontpath); FreeVec(fontpath); Close(fh); -- cgit v1.2.3