diff options
| author | Tom Rini <[email protected]> | 2024-04-30 07:35:28 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-05-06 15:06:33 -0600 |
| commit | 675dd31a7dc4c85385d5bce3b4fb281aa91968cb (patch) | |
| tree | c782d24302e8d8ee6a4e0578b6dc814defdb3c68 /include/u-boot | |
| parent | 9543f05d8e400a6cb9e22f9c0319e06c10706c93 (diff) | |
include: Add missing headers in a few instances
A few headers rely on indirect inclusion of <linux/types.h> or
<linux/kernel.h> so add them directly. In the case of <netdev.h> add a
"struct bd_info;" as well rather than the large header chain to resolve
that.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'include/u-boot')
| -rw-r--r-- | include/u-boot/sha1.h | 2 | ||||
| -rw-r--r-- | include/u-boot/sha256.h | 2 | ||||
| -rw-r--r-- | include/u-boot/sha512.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/include/u-boot/sha1.h b/include/u-boot/sha1.h index 09fee594d26..c1e9f67068d 100644 --- a/include/u-boot/sha1.h +++ b/include/u-boot/sha1.h @@ -14,6 +14,8 @@ #ifndef _SHA1_H #define _SHA1_H +#include <linux/types.h> + #ifdef __cplusplus extern "C" { #endif diff --git a/include/u-boot/sha256.h b/include/u-boot/sha256.h index 9aa1251789a..a4fe176c0b4 100644 --- a/include/u-boot/sha256.h +++ b/include/u-boot/sha256.h @@ -1,6 +1,8 @@ #ifndef _SHA256_H #define _SHA256_H +#include <linux/types.h> + #define SHA256_SUM_LEN 32 #define SHA256_DER_LEN 19 diff --git a/include/u-boot/sha512.h b/include/u-boot/sha512.h index 516729d7750..90bd96a3f8c 100644 --- a/include/u-boot/sha512.h +++ b/include/u-boot/sha512.h @@ -1,6 +1,8 @@ #ifndef _SHA512_H #define _SHA512_H +#include <linux/types.h> + #define SHA384_SUM_LEN 48 #define SHA384_DER_LEN 19 #define SHA512_SUM_LEN 64 |
