Re: [PATCH v1] tools include: Add missing stdarg.h include
From: Namhyung Kim
Date: Sat Sep 19 2026 - 02:42:42 EST
On Wed, Sep 16, 2026 at 09:04:54PM -0700, Ian Rogers wrote:
> Header file makes use of varargs but doesn't directly include stdarg.h.
>
> Reported-by: sashiko-bot@xxxxxxxxxx
> Closes: https://lore.kernel.org/linux-perf-users/20260916062233.192271F000FF@xxxxxxxxxxxxxxx/
> Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>
Thanks,
Namhyung
> ---
> tools/include/tools/dis-asm-compat.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/include/tools/dis-asm-compat.h b/tools/include/tools/dis-asm-compat.h
> index 70f331e23ed3..1e0586d8451b 100644
> --- a/tools/include/tools/dis-asm-compat.h
> +++ b/tools/include/tools/dis-asm-compat.h
> @@ -2,6 +2,7 @@
> #ifndef _TOOLS_DIS_ASM_COMPAT_H
> #define _TOOLS_DIS_ASM_COMPAT_H
>
> +#include <stdarg.h>
> #include <stdio.h>
> #include <dis-asm.h>
>
> --
> 2.55.0.1082.g2b9226bbc0-goog
>