Messages in this thread Patch in this message | | | From | Lucas De Marchi <> | Subject | [PATCH] lib/string_helpers: add linux/string.h for strlen() | Date | Tue, 5 Oct 2021 14:26:34 -0700 |
| |
linux/string_helpers.h uses strlen(), so include the correpondent header. Otherwise we get a compilation error if it's not also included by whoever included the helper.
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> --- include/linux/string_helpers.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/include/linux/string_helpers.h b/include/linux/string_helpers.h index 68189c4a2eb1..4ba39e1403b2 100644 --- a/include/linux/string_helpers.h +++ b/include/linux/string_helpers.h @@ -4,6 +4,7 @@ #include <linux/bits.h> #include <linux/ctype.h> +#include <linux/string.h> #include <linux/types.h> struct file; -- 2.33.0
| |