Added stdarg.h for va_list requirement.