diff --git a/common/hush.c b/common/hush.c
index 06c5ff8df4c25dfc601f275c1af6265c71614139..9eea90f4280d6482537bd705d33911c0ba64d07d 100644
--- a/common/hush.c
+++ b/common/hush.c
@@ -1018,7 +1018,7 @@ static void get_user_input(struct in_str *i)
 	fflush(stdout);
 	i->p = the_command;
 #else
-	extern char console_buffer[CONFIG_SYS_CBSIZE];
+	extern char console_buffer[];
 	int n;
 	static char the_command[CONFIG_SYS_CBSIZE];