[PATCH v3 2/2] tools/include: Include stdint.h for SIZE_MAX in overflow.h
From: Yichong Chen <hidden>
Date: 2026-07-02 03:04:29
Also in:
lkml
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Yichong Chen <hidden>
Date: 2026-07-02 03:04:29
Also in:
lkml
Subsystem:
the rest · Maintainer:
Linus Torvalds
tools/include/linux/overflow.h uses SIZE_MAX in its size helper functions. Include stdint.h so tools users that include overflow.h without another SIZE_MAX provider can build. Signed-off-by: Yichong Chen <redacted> --- 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