Omit the ctk_icon if CTK_CONF_ICONS is 0.
diff --git a/contiki/apps/telnet-dsc.c b/contiki/apps/telnet-dsc.c
index 61be8fc..54c8452 100644
--- a/contiki/apps/telnet-dsc.c
+++ b/contiki/apps/telnet-dsc.c
@@ -29,7 +29,7 @@
  *
  * This file is part of the Contiki desktop environment
  *
- * $Id: telnet-dsc.c,v 1.6 2004/12/24 15:17:17 oliverschmidt Exp $
+ * $Id: telnet-dsc.c,v 1.7 2005/03/18 00:49:42 oliverschmidt Exp $
  *
  */
 
@@ -67,6 +67,8 @@
 };
 #endif /* CTK_CONF_ICON_TEXTMAPS */
 
+#if CTK_CONF_ICONS
 static struct ctk_icon telnet_icon =
   {CTK_ICON("Telnet", telneticon_bitmap, telneticon_textmap)};
+#endif /* CTK_CONF_ICONS */
 /*-----------------------------------------------------------------------------------*/