diff options
Diffstat (limited to 'board/sandburst')
| -rw-r--r-- | board/sandburst/karef/karef.c | 4 | ||||
| -rw-r--r-- | board/sandburst/metrobox/metrobox.c | 4 | 
2 files changed, 8 insertions, 0 deletions
| diff --git a/board/sandburst/karef/karef.c b/board/sandburst/karef/karef.c index 1ad1ae251..b8ae68fcd 100644 --- a/board/sandburst/karef/karef.c +++ b/board/sandburst/karef/karef.c @@ -33,6 +33,10 @@  #include <i2c.h>  #include "../common/sb_common.h"  #include "../common/ppc440gx_i2c.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); diff --git a/board/sandburst/metrobox/metrobox.c b/board/sandburst/metrobox/metrobox.c index bd6be3d2a..fc136c89c 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); |