--- tic98.orig/ppmd_enc.c 2009-07-05 14:15:53.000000000 +0200 +++ tic98/ppmd_enc.c 2009-07-05 14:18:47.000000000 +0200 @@ -63,7 +63,7 @@ } int -getline (FILE *fp, char *s, int max) +tic98_getline (FILE *fp, char *s, int max) /* Read line from FP into S; return its length (maximum length = MAX). */ { int i; @@ -111,7 +111,7 @@ ppm_start_encoding (max_order, max_symbol); /* Read in the integers */ - while ((len = getline (fp, line, MAX_LINE)) != EOF) + while ((len = tic98_getline (fp, line, MAX_LINE)) != EOF) { count++; if ((debugProgress) && ((count % debugProgress) == 0))