Fix compile problem
diff --git a/CHANGELOG b/CHANGELOG
index 7906abe..f29b08f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,8 @@
 Changes since U-Boot 1.1.4:
 ======================================================================
 
+* Fix compile problem
+
 * Added PCI support for MPC8349ADS board
   Patch by Kumar Gala 11 Jan 2006
 
diff --git a/drivers/ks8695eth.c b/drivers/ks8695eth.c
index a0f5be8..b598dd7 100644
--- a/drivers/ks8695eth.c
+++ b/drivers/ks8695eth.c
@@ -21,12 +21,13 @@
 /****************************************************************************/
 
 #include <common.h>
+
+#ifdef	CONFIG_DRIVER_KS8695ETH
 #include <malloc.h>
 #include <net.h>
 #include <asm/io.h>
 #include <asm/arch/platform.h>
 
-#ifdef	CONFIG_DRIVER_KS8695ETH
 /****************************************************************************/
 
 /*