BUILD: errors: include stdarg in errors.h
authorWilly Tarreau <w@1wt.eu>
Sun, 9 May 2021 10:04:09 +0000 (12:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 9 May 2021 10:11:41 +0000 (12:11 +0200)
It's needed for va_list as defined in ha_vdiag_warning().

include/haproxy/errors.h

index e0eff9c..4ece6e5 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef _HAPROXY_ERRORS_H
 #define _HAPROXY_ERRORS_H
 
+#include <stdarg.h>
 #include <stdio.h>
 
 /* These flags may be used in various functions which are called from within