--- OLD/xc/lib/Xmu/Distinct.c Thu Jan 1 00:00:00 1970 +++ NEW/xc/lib/Xmu/Distinct.c Thu Jan 1 00:00:00 1970 @@ -26,6 +26,8 @@ * Author: Keith Packard, MIT X Consortium */ +#include + # include /* @@ -74,7 +76,7 @@ for (j = i + 1; j < count; j++) if (pixels[i] == pixels[j]) return False; - defs = (XColor *) malloc (count * sizeof (XColor)); + defs = malloc (count * sizeof (XColor)); if (!defs) return False; for (i = 0; i < count; i++)