Try removing the lines #ifdef STDC_HEADERS #endifat lines 53 and 56 of src/include/c.h.
regards, tom lane