Fix implicit declaration of function 'eth_[gs]etenv_enetaddr'

...and some other compile warnings.

Signed-off-by: Wolfgang Denk <wd@denx.de>
diff --git a/board/sandburst/karef/karef.c b/board/sandburst/karef/karef.c
index 1ad1ae2..b8ae68f 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);