Omit the ctk_icon if CTK_CONF_ICONS is 0.
diff --git a/contiki-cc65/apps/memstat-dsc.c b/contiki-cc65/apps/memstat-dsc.c
index 2051bd1..0efa882 100644
--- a/contiki-cc65/apps/memstat-dsc.c
+++ b/contiki-cc65/apps/memstat-dsc.c
@@ -29,7 +29,7 @@
  *
  * This file is part of the Contiki desktop environment
  *
- * $Id: memstat-dsc.c,v 1.2 2004/06/27 12:45:57 oliverschmidt Exp $
+ * $Id: memstat-dsc.c,v 1.3 2005/03/18 00:51:42 oliverschmidt Exp $
  *
  */
 
@@ -67,6 +67,8 @@
 };
 #endif /* CTK_CONF_ICON_TEXTMAPS */
 
+#if CTK_CONF_ICONS
 static struct ctk_icon memstat_icon =
   {CTK_ICON("Memory stats", memstaticon_bitmap, memstaticon_textmap)};
+#endif /* CTK_CONF_ICONS */
 /*-----------------------------------------------------------------------------------*/