diff options
| author | Tom Rini <[email protected]> | 2025-05-14 12:15:31 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-05-14 12:15:31 -0600 |
| commit | 60e313d5c6373df88b99dc3be6f4ead04e9b3360 (patch) | |
| tree | f271ce18d0197d0ec1ae66b995ba88289325c75d /cmd/strings.c | |
| parent | 4c26de2eea6bcf5f27b13da0372d27d767cd38e3 (diff) | |
global: Add <linux/string.h> instead of long indirect include path
In a number of cases we have C files which rely on a chain of indirect
include paths to get <linux/string.h> to be included via <command.h>. To
facilitate cleaning up <command.h> make this code directly include
<linux/string.h>.
Signed-off-by: Tom Rini <[email protected]>
---
Cc: Andrew Davis <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Dai Okamura <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Francesco Dolcini <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Jens Wiklander <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Mingkai Hu <[email protected]>
Cc: Priyanka Jain <[email protected]>
Cc: Shengzhou Liu <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: William Zhang <[email protected]>
Diffstat (limited to 'cmd/strings.c')
| -rw-r--r-- | cmd/strings.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/strings.c b/cmd/strings.c index 5bcb0f2b567..beac2a6e6b3 100644 --- a/cmd/strings.c +++ b/cmd/strings.c @@ -9,6 +9,7 @@ #include <config.h> #include <command.h> #include <vsprintf.h> +#include <linux/string.h> static char *start_addr, *last_addr; |
