From 62bde43779b51b98c7d2ba8e9f34dca5897a3030 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 9 Sep 2022 17:46:45 +0200 Subject: [PATCH] BUILD: flags: fix the fallback macros for missing stdio The fallback macros for when stdio is not there didn't have the "..." and were causing build issues on platforms with stricter dependencies between includes. --- include/haproxy/show_flags-t.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/haproxy/show_flags-t.h b/include/haproxy/show_flags-t.h index 5b14b63297..692dd3b562 100644 --- a/include/haproxy/show_flags-t.h +++ b/include/haproxy/show_flags-t.h @@ -91,8 +91,8 @@ #else /* EOF not defined => no stdio, do nothing */ -#define __APPEND_FLAG(_buf, _len, _del, _flg, _val, _nam) do { } while (0) -#define __APPEND_ENUM(_buf, _len, _del, _flg, _msk, _val, _nam) do { } while (0) +#define __APPEND_FLAG(_buf, _len, _del, _flg, _val, _nam, ...) do { } while (0) +#define __APPEND_ENUM(_buf, _len, _del, _flg, _msk, _val, _nam, ...) do { } while (0) #endif /* EOF */ -- 2.39.5