diff --git a/c_headers/stdarg.h b/c_headers/stdarg.h index a57e183648..0f8a9be88e 100644 --- a/c_headers/stdarg.h +++ b/c_headers/stdarg.h @@ -49,4 +49,8 @@ typedef __builtin_va_list va_list; #endif typedef __builtin_va_list __gnuc_va_list; +/* zig: added because glibc stdio.h was duplicately defining va_list + */ +#define _VA_LIST_DEFINED + #endif /* __STDARG_H */