linux/string_helpers.h uses strlen(), so include the correponding header. Otherwise we get a compilation error if it's not also included by whoever included the helper.
Unified · Split
| @@ -4,6 +4,7 @@ · 3 unmodified lines | ||
| 4 | 4 | |
| 5 | 5 | #include <linux/bits.h> |
| 6 | 6 | #include <linux/ctype.h> |
| 7 | +#include <linux/string.h> | |
| 7 | 8 | #include <linux/types.h> |
| 8 | 9 | |
| 9 | 10 | struct file; |