From d2567be915036720693f3ddd00c39b5b4d86fb8d Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sat, 28 Mar 2009 20:16:16 +0100 Subject: Fix implicit declaration of function 'eth_[gs]etenv_enetaddr' ...and some other compile warnings. Signed-off-by: Wolfgang Denk --- board/sandburst/metrobox/metrobox.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/sandburst/metrobox') diff --git a/board/sandburst/metrobox/metrobox.c b/board/sandburst/metrobox/metrobox.c index bd6be3d2aa..fc136c89c4 100644 --- a/board/sandburst/metrobox/metrobox.c +++ b/board/sandburst/metrobox/metrobox.c @@ -32,6 +32,10 @@ #include #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 +#endif void fpga_init (void); -- cgit v1.2.1