diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-06-23 06:55:41 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-10-28 11:57:23 +0000 |
commit | 845652b8bbaeca8373bcf574e12e7d4e406b72e9 (patch) | |
tree | e4d3c9cd1cb12ae13aef9a07d5bb86d4b0468b83 /src/cpu/amd/family_10h-family_15h/processor_name.c | |
parent | 400f9ca2613297b3034d96286eeeb009a1eb2ac0 (diff) |
src/cpu: Use 'include <stdlib.h>' when appropriate
Also:
add some missing includes spotted by Jenkins.
Including <types.h>, is supposed to provide stdint and stddef.
Change-Id: I7bd999b59d1c0bdfa5999bf5805576f94c9a2390
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33680
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/cpu/amd/family_10h-family_15h/processor_name.c')
-rw-r--r-- | src/cpu/amd/family_10h-family_15h/processor_name.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/amd/family_10h-family_15h/processor_name.c b/src/cpu/amd/family_10h-family_15h/processor_name.c index fbd2bb5a33..c5e31fd59d 100644 --- a/src/cpu/amd/family_10h-family_15h/processor_name.c +++ b/src/cpu/amd/family_10h-family_15h/processor_name.c @@ -27,6 +27,8 @@ #include <device/pci.h> #include <device/pnp.h> #include <device/pci_ops.h> +#include <stdlib.h> +#include <types.h> /* The maximum length of CPU names is 48 bytes, including the final NULL byte. * If you change these names your BIOS will _NOT_ pass the AMD validation and |