summaryrefslogtreecommitdiff
path: root/src/device/pci_class.c
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-10-07 10:08:05 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-26 16:38:11 +0000
commit04c3b5a01650245e3e1cd8fa947e2d146d9126ed (patch)
treef74b680feaab4fa24488e1160c6132df7c88e0d0 /src/device/pci_class.c
parent45d3205ba565ababcaf1e9e85a63dd7a0b1d72be (diff)
src/device: Clean up includes
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: Idd78271f2158bdc29ce9ac8d81f46ad8cbe84c5e Reviewed-on: https://review.coreboot.org/c/coreboot/+/68205 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Diffstat (limited to 'src/device/pci_class.c')
-rw-r--r--src/device/pci_class.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device/pci_class.c b/src/device/pci_class.c
index 460d85391b..c5630f72f7 100644
--- a/src/device/pci_class.c
+++ b/src/device/pci_class.c
@@ -1,8 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <commonlib/bsd/helpers.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ops.h>
+#include <stddef.h>
typedef struct {
const unsigned char subclass_id;