diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2020-07-27 07:56:14 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-08-18 12:16:10 +0000 |
commit | 24230f6cd7b0ace40d331400e8a1b018b5369cf0 (patch) | |
tree | 16de1ec9c88994fbc94530765969672c0cdfed1a /src/southbridge | |
parent | a3759e3a7b5c5a9910624e00e9f315ca9c35dc2e (diff) | |
download | coreboot-24230f6cd7b0ace40d331400e8a1b018b5369cf0.tar.xz |
sb/amd/agesa/hudson: Add missing '#include <stddef.h>'
size_t needs <stddef.h>.
Change-Id: I9ccf526df44dbad8568f75bd0506ac686fdb7860
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43939
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/amd/agesa/hudson/smbus_spd.c | 1 | ||||
-rw-r--r-- | src/southbridge/amd/agesa/hudson/spi.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/southbridge/amd/agesa/hudson/smbus_spd.c b/src/southbridge/amd/agesa/hudson/smbus_spd.c index e0f36cabcc..7dcbbf9a50 100644 --- a/src/southbridge/amd/agesa/hudson/smbus_spd.c +++ b/src/southbridge/amd/agesa/hudson/smbus_spd.c @@ -4,6 +4,7 @@ #include <device/pci_def.h> #include <device/device.h> #include <console/console.h> +#include <stddef.h> /* warning: Porting.h includes an open #pragma pack(1) */ #include <Porting.h> #include <AGESA.h> diff --git a/src/southbridge/amd/agesa/hudson/spi.c b/src/southbridge/amd/agesa/hudson/spi.c index cce11dc566..b2f9ff2f72 100644 --- a/src/southbridge/amd/agesa/hudson/spi.c +++ b/src/southbridge/amd/agesa/hudson/spi.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ + #include <stdint.h> #include <device/mmio.h> #include <console/console.h> @@ -7,6 +8,7 @@ #include <device/device.h> #include <device/pci.h> #include <device/pci_ops.h> +#include <stddef.h> #include <Proc/Fch/FchPlatform.h> |