$NetBSD: patch-ab,v 1.3 2010/05/31 23:53:36 dholland Exp $ Fix build on MacOS. --- src/file.c~ 2005-05-16 11:28:45.000000000 +0000 +++ src/file.c @@ -574,7 +574,7 @@ ZByte* read_block(ZFile* file, int start end_pos-start_pos, block, &rd); if (erm != noErr) zmachine_fatal("Error while reading from file - %s", file_error_text(erm)); - if (erm == eofErr) endOfFile = 1; + if (erm == eofErr) file->endOfFile = 1; if (rd != end_pos-start_pos) zmachine_fatal("Tried to read %i items of 1 byte, got %i items", end_pos-start_pos, rd);