Included string.h to avoid stack corruption due to calling __fastcall__ functions without prototypes.
diff --git a/contiki/apps/about.c b/contiki/apps/about.c
index 47ecc63..da05a39 100644
--- a/contiki/apps/about.c
+++ b/contiki/apps/about.c
@@ -29,7 +29,7 @@
*
* This file is part of the Contiki desktop environment
*
- * $Id: about.c,v 1.9 2004/06/06 05:59:20 adamdunkels Exp $
+ * $Id: about.c,v 1.10 2004/06/13 09:48:32 oliverschmidt Exp $
*
*/
@@ -41,6 +41,8 @@
#include "loader.h"
+#include <string.h>
+
static struct ctk_window aboutdialog;
static struct ctk_label aboutlabel1 =
{CTK_LABEL(5, 0, 23, 1, "The Contiki Desktop OS")};
diff --git a/contiki/apps/email.c b/contiki/apps/email.c
index fcd5256..adca493 100644
--- a/contiki/apps/email.c
+++ b/contiki/apps/email.c
@@ -29,7 +29,7 @@
*
* This file is part of the Contiki desktop environment for the C64.
*
- * $Id: email.c,v 1.13 2004/06/06 05:59:20 adamdunkels Exp $
+ * $Id: email.c,v 1.14 2004/06/13 09:48:32 oliverschmidt Exp $
*
*/
@@ -43,6 +43,7 @@
#include "ctk-textedit.h"
+#include <string.h>
#define MAXNUMMSGS 6
diff --git a/contiki/apps/htmlparser.c b/contiki/apps/htmlparser.c
index 9da9d2e..6d826a6 100644
--- a/contiki/apps/htmlparser.c
+++ b/contiki/apps/htmlparser.c
@@ -29,7 +29,7 @@
*
* This file is part of the Contiki desktop environment
*
- * $Id: htmlparser.c,v 1.5 2004/06/06 05:59:21 adamdunkels Exp $
+ * $Id: htmlparser.c,v 1.6 2004/06/13 09:48:32 oliverschmidt Exp $
*
*/
@@ -67,6 +67,8 @@
#include "www-conf.h"
#include "cc.h"
+#include <string.h>
+
#if 1
#define PRINTF(x)
#else
diff --git a/contiki/apps/simpletelnet.c b/contiki/apps/simpletelnet.c
index d16896e..c080885 100644
--- a/contiki/apps/simpletelnet.c
+++ b/contiki/apps/simpletelnet.c
@@ -29,7 +29,7 @@
*
* This file is part of the Contiki desktop environment
*
- * $Id: simpletelnet.c,v 1.10 2004/06/06 05:59:21 adamdunkels Exp $
+ * $Id: simpletelnet.c,v 1.11 2004/06/13 09:48:32 oliverschmidt Exp $
*
*/
@@ -43,6 +43,8 @@
#include "simpletelnet.h"
#include "loader.h"
+#include <string.h>
+
/* Telnet window */
static struct ctk_window telnetwindow;