summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-01-03 12:58:21 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-01-05 08:56:10 +0100
commitd31ffc5b2da4c836df5595d18b1f68598d97eeb4 (patch)
tree8b095f5e484d955a1663007d78096b8033c2480b /include
parent4b9fe51b4c916b45a6ad9dbc3b8ea3bd7e6bc00c (diff)
downloadbarebox-d31ffc5b2da4c836df5595d18b1f68598d97eeb4.tar.gz
barebox-d31ffc5b2da4c836df5595d18b1f68598d97eeb4.tar.xz
include: <linux/overflow.h>: add missing include
SIZE_MAX needs to be defined for functions defined inline within the header. Include appropriate header. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220103115824.1725086-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/overflow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/overflow.h b/include/linux/overflow.h
index 6590450464..50c93ca0c3 100644
--- a/include/linux/overflow.h
+++ b/include/linux/overflow.h
@@ -3,6 +3,7 @@
#define __LINUX_OVERFLOW_H
#include <linux/compiler.h>
+#include <linux/limits.h>
/*
* In the fallback code below, we need to compute the minimum and