Include stdio.h. Test STDC_HEADERS, not __STDC__.