Include <stdarg.h>, needed for va_list.