From 7ae6c2f33bf90147c5e2da558e633e40588e76bd Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 27 Jan 2016 19:05:58 -0700 Subject: [PATCH] fix stdio duplicately defining va_list --- c_headers/stdarg.h | 4 ++++ 1 file changed, 4 insertions(+) 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 */