summaryrefslogtreecommitdiff
path: root/src/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/net')
-rw-r--r--src/drivers/net/atl1e.c1
-rw-r--r--src/drivers/net/r8168.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/net/atl1e.c b/src/drivers/net/atl1e.c
index f6f04a1035..097b768b12 100644
--- a/src/drivers/net/atl1e.c
+++ b/src/drivers/net/atl1e.c
@@ -26,6 +26,7 @@
#include <console/console.h>
#include <device/pci.h>
#include <device/pci_ops.h>
+#include <types.h>
#define REG_SPI_FLASH_CTRL 0x200
#define SPI_FLASH_CTRL_EN_VPD 0x2000
diff --git a/src/drivers/net/r8168.c b/src/drivers/net/r8168.c
index 3200163ab3..3188778900 100644
--- a/src/drivers/net/r8168.c
+++ b/src/drivers/net/r8168.c
@@ -33,6 +33,8 @@
#include <device/pci_def.h>
#include <delay.h>
#include <fmap.h>
+#include <types.h>
+
#include "chip.h"
#define NIC_TIMEOUT 1000