summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/amd/agesa/hudson/smbus_spd.c1
-rw-r--r--src/southbridge/amd/agesa/hudson/spi.c2
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>