minmax: Fix header inclusions
PATCH v3 1/1 minmax: Fix header inclusions
BUILD_BUG_ON*() macros are defined in build_bug.h. Include it. Replace compiler_types.h by compiler.h, which provides the former, to have a definition of the __UNIQUE_ID().
Reviewed-by Herve Codina <[email protected]>
Signed-off-by Andy Shevchenko <[email protected]>
---
v3: rebased on top of the latest -mm patches (assumed to go via Andrew)
include/linux/minmax.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/linux/minmax.h +2 -1
@@ -2,7 +2,8 @@#ifndef _LINUX_MINMAX_H#define _LINUX_MINMAX_H -#include <linux/compiler_types.h> +#include <linux/build_bug.h> +#include <linux/compiler.h> #include <linux/const.h> #include <linux/types.h>
Signature · 1 line
2.40.0.1.gaa8946217a0b