mesa: include stdio.h where needed