add missing stdio.h includes