From: Yichong Chen Date: Mon, 29 Jun 2026 02:21:24 +0000 (+0800) Subject: tools/include: include stdint.h for SIZE_MAX in overflow.h X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=039892c35f9d8f5ea00d7c2ed1c25224f28b11d7;p=thirdparty%2Flinux.git tools/include: include stdint.h for SIZE_MAX in overflow.h 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. Link: https://lore.kernel.org/20260629022124.131894-3-chenyichong@uniontech.com Signed-off-by: Yichong Chen Acked-by: Eugenio Pérez Cc: Jason Wang Cc: Lorenzo Stoakes Cc: "Michael S. Tsirkin" Cc: Mike Rapoport Cc: Paolo Abeni Cc: Xuan Zhuo Signed-off-by: Andrew Morton --- diff --git a/tools/include/linux/overflow.h b/tools/include/linux/overflow.h index 3427d78803264..98963688143f3 100644 --- a/tools/include/linux/overflow.h +++ b/tools/include/linux/overflow.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0 OR MIT */ +#include #ifndef __LINUX_OVERFLOW_H #define __LINUX_OVERFLOW_H