[Scummvm-cvs-logs] SF.net SVN: scummvm:[48498] tools/branches/branch-1-1-0
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Apr 4 11:34:46 CEST 2010
Revision: 48498
http://scummvm.svn.sourceforge.net/scummvm/?rev=48498&view=rev
Author: fingolfin
Date: 2010-04-04 09:34:46 +0000 (Sun, 04 Apr 2010)
Log Message:
-----------
Backport of revision 48471.
Include <unistd.h> in files that use unlink(). Fixes amiga build.
Revision Links:
--------------
http://scummvm.svn.sourceforge.net/scummvm/?rev=48471&view=rev
Modified Paths:
--------------
tools/branches/branch-1-1-0/compress.cpp
tools/branches/branch-1-1-0/engines/agos/compress_agos.cpp
tools/branches/branch-1-1-0/engines/kyra/compress_kyra.cpp
tools/branches/branch-1-1-0/engines/kyra/kyra_pak.cpp
tools/branches/branch-1-1-0/engines/queen/compress_queen.cpp
tools/branches/branch-1-1-0/engines/saga/compress_saga.cpp
tools/branches/branch-1-1-0/engines/scumm/compress_scumm_bun.cpp
tools/branches/branch-1-1-0/engines/scumm/compress_scumm_sou.cpp
tools/branches/branch-1-1-0/engines/sword1/compress_sword1.cpp
tools/branches/branch-1-1-0/engines/sword2/compress_sword2.cpp
tools/branches/branch-1-1-0/engines/tinsel/compress_tinsel.cpp
tools/branches/branch-1-1-0/engines/touche/compress_touche.cpp
tools/branches/branch-1-1-0/engines/tucker/compress_tucker.cpp
Modified: tools/branches/branch-1-1-0/compress.cpp
===================================================================
--- tools/branches/branch-1-1-0/compress.cpp 2010-04-04 00:37:25 UTC (rev 48497)
+++ tools/branches/branch-1-1-0/compress.cpp 2010-04-04 09:34:46 UTC (rev 48498)
@@ -25,6 +25,7 @@
#include <string.h>
#include <sstream>
#include <stdio.h>
+#include <unistd.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
Modified: tools/branches/branch-1-1-0/engines/agos/compress_agos.cpp
===================================================================
--- tools/branches/branch-1-1-0/engines/agos/compress_agos.cpp 2010-04-04 00:37:25 UTC (rev 48497)
+++ tools/branches/branch-1-1-0/engines/agos/compress_agos.cpp 2010-04-04 09:34:46 UTC (rev 48498)
@@ -22,6 +22,7 @@
#include <string.h>
#include <stdio.h>
+#include <unistd.h>
#include "compress_agos.h"
Modified: tools/branches/branch-1-1-0/engines/kyra/compress_kyra.cpp
===================================================================
--- tools/branches/branch-1-1-0/engines/kyra/compress_kyra.cpp 2010-04-04 00:37:25 UTC (rev 48497)
+++ tools/branches/branch-1-1-0/engines/kyra/compress_kyra.cpp 2010-04-04 09:34:46 UTC (rev 48498)
@@ -23,7 +23,9 @@
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
+#include <unistd.h>
+
#include "compress_kyra.h"
#include "compress.h"
Modified: tools/branches/branch-1-1-0/engines/kyra/kyra_pak.cpp
===================================================================
--- tools/branches/branch-1-1-0/engines/kyra/kyra_pak.cpp 2010-04-04 00:37:25 UTC (rev 48497)
+++ tools/branches/branch-1-1-0/engines/kyra/kyra_pak.cpp 2010-04-04 09:34:46 UTC (rev 48498)
@@ -22,6 +22,7 @@
#include <assert.h>
#include <stdio.h>
+#include <unistd.h>
#include "kyra_pak.h"
Modified: tools/branches/branch-1-1-0/engines/queen/compress_queen.cpp
===================================================================
--- tools/branches/branch-1-1-0/engines/queen/compress_queen.cpp 2010-04-04 00:37:25 UTC (rev 48497)
+++ tools/branches/branch-1-1-0/engines/queen/compress_queen.cpp 2010-04-04 09:34:46 UTC (rev 48498)
@@ -21,6 +21,7 @@
*/
#include <string.h>
+#include <unistd.h>
#include "compress.h"
Modified: tools/branches/branch-1-1-0/engines/saga/compress_saga.cpp
===================================================================
--- tools/branches/branch-1-1-0/engines/saga/compress_saga.cpp 2010-04-04 00:37:25 UTC (rev 48497)
+++ tools/branches/branch-1-1-0/engines/saga/compress_saga.cpp 2010-04-04 09:34:46 UTC (rev 48498)
@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#include <unistd.h>
#include "compress.h"
#include "compress_saga.h"
Modified: tools/branches/branch-1-1-0/engines/scumm/compress_scumm_bun.cpp
===================================================================
--- tools/branches/branch-1-1-0/engines/scumm/compress_scumm_bun.cpp 2010-04-04 00:37:25 UTC (rev 48497)
+++ tools/branches/branch-1-1-0/engines/scumm/compress_scumm_bun.cpp 2010-04-04 09:34:46 UTC (rev 48498)
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#include <unistd.h>
#include "compress_scumm_bun.h"
#include "common/endian.h"
Modified: tools/branches/branch-1-1-0/engines/scumm/compress_scumm_sou.cpp
===================================================================
--- tools/branches/branch-1-1-0/engines/scumm/compress_scumm_sou.cpp 2010-04-04 00:37:25 UTC (rev 48497)
+++ tools/branches/branch-1-1-0/engines/scumm/compress_scumm_sou.cpp 2010-04-04 09:34:46 UTC (rev 48498)
@@ -22,6 +22,7 @@
#include <assert.h>
#include <string.h>
+#include <unistd.h>
#include "compress_scumm_sou.h"
Modified: tools/branches/branch-1-1-0/engines/sword1/compress_sword1.cpp
===================================================================
--- tools/branches/branch-1-1-0/engines/sword1/compress_sword1.cpp 2010-04-04 00:37:25 UTC (rev 48497)
+++ tools/branches/branch-1-1-0/engines/sword1/compress_sword1.cpp 2010-04-04 09:34:46 UTC (rev 48498)
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#include <unistd.h>
#include "compress_sword1.h"
Modified: tools/branches/branch-1-1-0/engines/sword2/compress_sword2.cpp
===================================================================
--- tools/branches/branch-1-1-0/engines/sword2/compress_sword2.cpp 2010-04-04 00:37:25 UTC (rev 48497)
+++ tools/branches/branch-1-1-0/engines/sword2/compress_sword2.cpp 2010-04-04 09:34:46 UTC (rev 48498)
@@ -20,6 +20,8 @@
*
*/
+#include <unistd.h>
+
#include "compress_sword2.h"
#define TEMP_IDX "tempfile.idx"
Modified: tools/branches/branch-1-1-0/engines/tinsel/compress_tinsel.cpp
===================================================================
--- tools/branches/branch-1-1-0/engines/tinsel/compress_tinsel.cpp 2010-04-04 00:37:25 UTC (rev 48497)
+++ tools/branches/branch-1-1-0/engines/tinsel/compress_tinsel.cpp 2010-04-04 09:34:46 UTC (rev 48498)
@@ -23,6 +23,7 @@
// By Jimi (m [underline] kiewitz [AT] users.sourceforge.net)
#include <stdlib.h>
+#include <unistd.h>
#include "compress.h"
#include "common/endian.h"
Modified: tools/branches/branch-1-1-0/engines/touche/compress_touche.cpp
===================================================================
--- tools/branches/branch-1-1-0/engines/touche/compress_touche.cpp 2010-04-04 00:37:25 UTC (rev 48497)
+++ tools/branches/branch-1-1-0/engines/touche/compress_touche.cpp 2010-04-04 09:34:46 UTC (rev 48498)
@@ -22,6 +22,7 @@
#include <string.h>
#include <stdio.h>
+#include <unistd.h>
#include "compress.h"
#include "compress_touche.h"
Modified: tools/branches/branch-1-1-0/engines/tucker/compress_tucker.cpp
===================================================================
--- tools/branches/branch-1-1-0/engines/tucker/compress_tucker.cpp 2010-04-04 00:37:25 UTC (rev 48497)
+++ tools/branches/branch-1-1-0/engines/tucker/compress_tucker.cpp 2010-04-04 09:34:46 UTC (rev 48498)
@@ -23,6 +23,7 @@
#include <assert.h>
#include <string.h>
#include <stdio.h>
+#include <unistd.h>
#include "compress.h"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list