]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
util_macros.h: make the header more resilient
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 28 Apr 2025 07:27:54 +0000 (10:27 +0300)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 13 May 2025 06:50:46 +0000 (23:50 -0700)
Add missing header inclusions.

Link: https://lkml.kernel.org/r/20250428072754.3265274-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/util_macros.h

index 3b570b765b7504805ef55084cea1df79d7368d3a..76ca2b83c13e00f495370e9d7654215a251142fd 100644 (file)
@@ -2,7 +2,10 @@
 #ifndef _LINUX_HELPER_MACROS_H_
 #define _LINUX_HELPER_MACROS_H_
 
+#include <linux/compiler_attributes.h>
 #include <linux/math.h>
+#include <linux/typecheck.h>
+#include <linux/stddef.h>
 
 /**
  * for_each_if - helper for handling conditionals in various for_each macros