--- src/lib/IV-2_6/xpainter.c.orig Tue Oct 20 05:32:42 1992 +++ src/lib/IV-2_6/xpainter.c Sun Jan 23 18:46:22 2000 @@ -56,6 +56,7 @@ #include #include #include +#include PainterRep::PainterRep() { display = Session::instance()->default_display(); @@ -1117,6 +1118,7 @@ } void Painter::Polygon(Canvas* c, IntCoord x[], IntCoord y[], int n) { + register int i; if (c == nil) { return; } @@ -1125,7 +1127,7 @@ return; } register XPoint* v = AllocPts(n+1); - for (register int i = 0; i < n; i++) { + for (i = 0; i < n; i++) { Map(c, x[i], y[i], v[i].x, v[i].y); } if (x[i-1] != x[0] || y[i-1] != y[0]) {