[PATCH v1] tools include: Add missing stdarg.h include

From: Ian Rogers

Date: Thu Sep 17 2026 - 00:13:06 EST


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>
---
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