Revision: 18819
http://vice-emu.svn.sourceforge.net/vice-emu/?rev=18819&view=rev
Author: blackystardust
Date: 2008-06-01 09:33:26 -0700 (Sun, 01 Jun 2008)
Log Message:
-----------
Added #include <strings.h> to some headers, which was needed for the SCO ports and fixed a typo (missing semi-colon)
Modified Paths:
--------------
branches/marco/ports/vice/po/intl2po.c
branches/marco/ports/vice/src/arch/unix/archdep.c
branches/marco/ports/vice/src/arch/unix/x11/gnome/uipalcontrol.c
branches/marco/ports/vice/src/c1541.c
branches/marco/ports/vice/src/c64/patchrom.c
branches/marco/ports/vice/src/monitor/mon_assemble6502.c
branches/marco/ports/vice/src/monitor/mon_assemblez80.c
branches/marco/ports/vice/src/monitor/mon_command.c
branches/marco/ports/vice/src/monitor/monitor.c
branches/marco/ports/vice/src/resources.c
branches/marco/ports/vice/src/sound.c
branches/marco/ports/vice/src/util.c
branches/marco/ports/vice/src/zfile.c
Modified: branches/marco/ports/vice/po/intl2po.c
===================================================================
--- branches/marco/ports/vice/po/intl2po.c 2008-06-01 03:24:13 UTC (rev 18818)
+++ branches/marco/ports/vice/po/intl2po.c 2008-06-01 16:33:26 UTC (rev 18819)
@@ -30,6 +30,10 @@
#include <stdlib.h>
#include <string.h>
+#ifdef _SCO_ELF
+#include <strings.h>
+#endif
+
/* status definitions */
#define SCANNING 0
#define STRINGTABLE_BEGIN_SCAN 1
Modified: branches/marco/ports/vice/src/arch/unix/archdep.c
===================================================================
--- branches/marco/ports/vice/src/arch/unix/archdep.c 2008-06-01 03:24:13 UTC (rev 18818)
+++ branches/marco/ports/vice/src/arch/unix/archdep.c 2008-06-01 16:33:26 UTC (rev 18819)
@@ -44,6 +44,10 @@
#include <vfork.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#include "archdep.h"
#include "findpath.h"
#include "ioutil.h"
Modified: branches/marco/ports/vice/src/arch/unix/x11/gnome/uipalcontrol.c
===================================================================
--- branches/marco/ports/vice/src/arch/unix/x11/gnome/uipalcontrol.c 2008-06-01 03:24:13 UTC (rev 18818)
+++ branches/marco/ports/vice/src/arch/unix/x11/gnome/uipalcontrol.c 2008-06-01 16:33:26 UTC (rev 18819)
@@ -68,7 +68,7 @@
static void pal_ctrl_reset (GtkWidget *w, gpointer data)
{
- unsigned int i
+ unsigned int i;
int tmp;
for (i = 0; i < sizeof(ctrls)/sizeof(ctrls[0]); i++)
Modified: branches/marco/ports/vice/src/c1541.c
===================================================================
--- branches/marco/ports/vice/src/c1541.c 2008-06-01 03:24:13 UTC (rev 18818)
+++ branches/marco/ports/vice/src/c1541.c 2008-06-01 16:33:26 UTC (rev 18819)
@@ -54,6 +54,10 @@
#include <fcntl.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#include "archdep.h"
#include "cbmdos.h"
#include "cbmimage.h"
Modified: branches/marco/ports/vice/src/c64/patchrom.c
===================================================================
--- branches/marco/ports/vice/src/c64/patchrom.c 2008-06-01 03:24:13 UTC (rev 18818)
+++ branches/marco/ports/vice/src/c64/patchrom.c 2008-06-01 16:33:26 UTC (rev 18819)
@@ -35,6 +35,10 @@
#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#include "log.h"
#include "c64memrom.h"
#include "patchrom.h"
Modified: branches/marco/ports/vice/src/monitor/mon_assemble6502.c
===================================================================
--- branches/marco/ports/vice/src/monitor/mon_assemble6502.c 2008-06-01 03:24:13 UTC (rev 18818)
+++ branches/marco/ports/vice/src/monitor/mon_assemble6502.c 2008-06-01 16:33:26 UTC (rev 18819)
@@ -30,6 +30,10 @@
#include <string.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#include "asm.h"
#include "montypes.h"
#include "mon_assemble.h"
Modified: branches/marco/ports/vice/src/monitor/mon_assemblez80.c
===================================================================
--- branches/marco/ports/vice/src/monitor/mon_assemblez80.c 2008-06-01 03:24:13 UTC (rev 18818)
+++ branches/marco/ports/vice/src/monitor/mon_assemblez80.c 2008-06-01 16:33:26 UTC (rev 18819)
@@ -29,6 +29,10 @@
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#include "asm.h"
#include "montypes.h"
#include "mon_assemble.h"
Modified: branches/marco/ports/vice/src/monitor/mon_command.c
===================================================================
--- branches/marco/ports/vice/src/monitor/mon_command.c 2008-06-01 03:24:13 UTC (rev 18818)
+++ branches/marco/ports/vice/src/monitor/mon_command.c 2008-06-01 16:33:26 UTC (rev 18819)
@@ -31,6 +31,10 @@
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#include "mon_command.h"
#include "montypes.h"
#include "mon_parse.h" /* FIXME ! */
Modified: branches/marco/ports/vice/src/monitor/monitor.c
===================================================================
--- branches/marco/ports/vice/src/monitor/monitor.c 2008-06-01 03:24:13 UTC (rev 18818)
+++ branches/marco/ports/vice/src/monitor/monitor.c 2008-06-01 16:33:26 UTC (rev 18819)
@@ -37,6 +37,10 @@
#include <direct.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#include "archdep.h"
#include "charset.h"
#include "cmdline.h"
Modified: branches/marco/ports/vice/src/resources.c
===================================================================
--- branches/marco/ports/vice/src/resources.c 2008-06-01 03:24:13 UTC (rev 18818)
+++ branches/marco/ports/vice/src/resources.c 2008-06-01 16:33:26 UTC (rev 18819)
@@ -41,7 +41,7 @@
#include <string.h>
#include <ctype.h>
-#if 0
+#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
Modified: branches/marco/ports/vice/src/sound.c
===================================================================
--- branches/marco/ports/vice/src/sound.c 2008-06-01 03:24:13 UTC (rev 18818)
+++ branches/marco/ports/vice/src/sound.c 2008-06-01 16:33:26 UTC (rev 18819)
@@ -34,6 +34,10 @@
#include <string.h>
#include <time.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#include "archdep.h"
#include "clkguard.h"
#include "cmdline.h"
Modified: branches/marco/ports/vice/src/util.c
===================================================================
--- branches/marco/ports/vice/src/util.c 2008-06-01 03:24:13 UTC (rev 18818)
+++ branches/marco/ports/vice/src/util.c 2008-06-01 16:33:26 UTC (rev 18819)
@@ -33,6 +33,10 @@
#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#include "archdep.h"
#include "ioutil.h"
#include "lib.h"
Modified: branches/marco/ports/vice/src/zfile.c
===================================================================
--- branches/marco/ports/vice/src/zfile.c 2008-06-01 03:24:13 UTC (rev 18818)
+++ branches/marco/ports/vice/src/zfile.c 2008-06-01 16:33:26 UTC (rev 18819)
@@ -45,6 +45,10 @@
#include <zlib.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#include "archdep.h"
#include "ioutil.h"
#include "lib.h"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|