aboutsummaryrefslogtreecommitdiff
path: root/board/sandburst/metrobox/metrobox.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/sandburst/metrobox/metrobox.c')
-rw-r--r--board/sandburst/metrobox/metrobox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/sandburst/metrobox/metrobox.c b/board/sandburst/metrobox/metrobox.c
index bd6be3d2aa5..fc136c89c40 100644
--- a/board/sandburst/metrobox/metrobox.c
+++ b/board/sandburst/metrobox/metrobox.c
@@ -32,6 +32,10 @@
#include <i2c.h>
#include "../common/ppc440gx_i2c.h"
#include "../common/sb_common.h"
+#if defined(CONFIG_HAS_ETH0) || defined(CONFIG_HAS_ETH1) || \
+ defined(CONFIG_HAS_ETH2) || defined(CONFIG_HAS_ETH3)
+#include <net.h>
+#endif
void fpga_init (void);