[PATCH 2/2] tools/include: Include stdint.h for SIZE_MAX in overflow.h
From: Yichong Chen
Date: Thu Jun 18 2026 - 06:04:49 EST
tools/include/linux/overflow.h uses SIZE_MAX in its size helpers.
Include stdint.h so overflow.h provides that dependency itself.
Signed-off-by: Yichong Chen <chenyichong@xxxxxxxxxxxxx>
---
tools/include/linux/overflow.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/include/linux/overflow.h b/tools/include/linux/overflow.h
index 3427d7880326..9d30ae0dbd1d 100644
--- a/tools/include/linux/overflow.h
+++ b/tools/include/linux/overflow.h
@@ -2,6 +2,8 @@
#ifndef __LINUX_OVERFLOW_H
#define __LINUX_OVERFLOW_H
+#include <stdint.h>
+
#include <linux/compiler.h>
/*
--
2.51.0