[Scummvm-cvs-logs] SF.net SVN: scummvm:[48471] tools/trunk

salty-horse at users.sourceforge.net salty-horse at users.sourceforge.net
Fri Apr 2 15:53:47 CEST 2010


Revision: 48471
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48471&view=rev
Author:   salty-horse
Date:     2010-04-02 13:53:47 +0000 (Fri, 02 Apr 2010)

Log Message:
-----------
Include <unistd.h> in files that use unlink(). Fixes amiga build.

Patch by Raziel^

Modified Paths:
--------------
    tools/trunk/compress.cpp
    tools/trunk/engines/agos/compress_agos.cpp
    tools/trunk/engines/kyra/compress_kyra.cpp
    tools/trunk/engines/kyra/kyra_pak.cpp
    tools/trunk/engines/queen/compress_queen.cpp
    tools/trunk/engines/saga/compress_saga.cpp
    tools/trunk/engines/scumm/compress_scumm_bun.cpp
    tools/trunk/engines/scumm/compress_scumm_sou.cpp
    tools/trunk/engines/sword1/compress_sword1.cpp
    tools/trunk/engines/sword2/compress_sword2.cpp
    tools/trunk/engines/tinsel/compress_tinsel.cpp
    tools/trunk/engines/touche/compress_touche.cpp
    tools/trunk/engines/tucker/compress_tucker.cpp

Modified: tools/trunk/compress.cpp
===================================================================
--- tools/trunk/compress.cpp	2010-04-02 13:50:12 UTC (rev 48470)
+++ tools/trunk/compress.cpp	2010-04-02 13:53:47 UTC (rev 48471)
@@ -25,6 +25,7 @@
 #include <string.h>
 #include <sstream>
 #include <stdio.h>
+#include <unistd.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>

Modified: tools/trunk/engines/agos/compress_agos.cpp
===================================================================
--- tools/trunk/engines/agos/compress_agos.cpp	2010-04-02 13:50:12 UTC (rev 48470)
+++ tools/trunk/engines/agos/compress_agos.cpp	2010-04-02 13:53:47 UTC (rev 48471)
@@ -22,6 +22,7 @@
 
 #include <string.h>
 #include <stdio.h>
+#include <unistd.h>
 
 #include "compress_agos.h"
 

Modified: tools/trunk/engines/kyra/compress_kyra.cpp
===================================================================
--- tools/trunk/engines/kyra/compress_kyra.cpp	2010-04-02 13:50:12 UTC (rev 48470)
+++ tools/trunk/engines/kyra/compress_kyra.cpp	2010-04-02 13:53:47 UTC (rev 48471)
@@ -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/trunk/engines/kyra/kyra_pak.cpp
===================================================================
--- tools/trunk/engines/kyra/kyra_pak.cpp	2010-04-02 13:50:12 UTC (rev 48470)
+++ tools/trunk/engines/kyra/kyra_pak.cpp	2010-04-02 13:53:47 UTC (rev 48471)
@@ -22,6 +22,7 @@
 
 #include <assert.h>
 #include <stdio.h>
+#include <unistd.h>
 
 #include "kyra_pak.h"
 

Modified: tools/trunk/engines/queen/compress_queen.cpp
===================================================================
--- tools/trunk/engines/queen/compress_queen.cpp	2010-04-02 13:50:12 UTC (rev 48470)
+++ tools/trunk/engines/queen/compress_queen.cpp	2010-04-02 13:53:47 UTC (rev 48471)
@@ -21,6 +21,7 @@
  */
 
 #include <string.h>
+#include <unistd.h>
 
 #include "common/util.h"
 #include "compress.h"

Modified: tools/trunk/engines/saga/compress_saga.cpp
===================================================================
--- tools/trunk/engines/saga/compress_saga.cpp	2010-04-02 13:50:12 UTC (rev 48470)
+++ tools/trunk/engines/saga/compress_saga.cpp	2010-04-02 13:53:47 UTC (rev 48471)
@@ -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/trunk/engines/scumm/compress_scumm_bun.cpp
===================================================================
--- tools/trunk/engines/scumm/compress_scumm_bun.cpp	2010-04-02 13:50:12 UTC (rev 48470)
+++ tools/trunk/engines/scumm/compress_scumm_bun.cpp	2010-04-02 13:53:47 UTC (rev 48471)
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
+#include <unistd.h>
 
 #include "common/util.h"
 #include "common/endian.h"

Modified: tools/trunk/engines/scumm/compress_scumm_sou.cpp
===================================================================
--- tools/trunk/engines/scumm/compress_scumm_sou.cpp	2010-04-02 13:50:12 UTC (rev 48470)
+++ tools/trunk/engines/scumm/compress_scumm_sou.cpp	2010-04-02 13:53:47 UTC (rev 48471)
@@ -22,6 +22,7 @@
 
 #include <assert.h>
 #include <string.h>
+#include <unistd.h>
 
 #include "compress_scumm_sou.h"
 

Modified: tools/trunk/engines/sword1/compress_sword1.cpp
===================================================================
--- tools/trunk/engines/sword1/compress_sword1.cpp	2010-04-02 13:50:12 UTC (rev 48470)
+++ tools/trunk/engines/sword1/compress_sword1.cpp	2010-04-02 13:53:47 UTC (rev 48471)
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
+#include <unistd.h>
 
 #include "compress_sword1.h"
 

Modified: tools/trunk/engines/sword2/compress_sword2.cpp
===================================================================
--- tools/trunk/engines/sword2/compress_sword2.cpp	2010-04-02 13:50:12 UTC (rev 48470)
+++ tools/trunk/engines/sword2/compress_sword2.cpp	2010-04-02 13:53:47 UTC (rev 48471)
@@ -20,6 +20,8 @@
  *
  */
 
+#include <unistd.h>
+
 #include "compress_sword2.h"
 
 #define TEMP_IDX	"tempfile.idx"

Modified: tools/trunk/engines/tinsel/compress_tinsel.cpp
===================================================================
--- tools/trunk/engines/tinsel/compress_tinsel.cpp	2010-04-02 13:50:12 UTC (rev 48470)
+++ tools/trunk/engines/tinsel/compress_tinsel.cpp	2010-04-02 13:53:47 UTC (rev 48471)
@@ -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/trunk/engines/touche/compress_touche.cpp
===================================================================
--- tools/trunk/engines/touche/compress_touche.cpp	2010-04-02 13:50:12 UTC (rev 48470)
+++ tools/trunk/engines/touche/compress_touche.cpp	2010-04-02 13:53:47 UTC (rev 48471)
@@ -22,6 +22,7 @@
 
 #include <string.h>
 #include <stdio.h>
+#include <unistd.h>
 
 #include "compress.h"
 #include "compress_touche.h"

Modified: tools/trunk/engines/tucker/compress_tucker.cpp
===================================================================
--- tools/trunk/engines/tucker/compress_tucker.cpp	2010-04-02 13:50:12 UTC (rev 48470)
+++ tools/trunk/engines/tucker/compress_tucker.cpp	2010-04-02 13:53:47 UTC (rev 48471)
@@ -23,6 +23,7 @@
 #include <assert.h>
 #include <string.h>
 #include <stdio.h>
+#include <unistd.h>
 
 #include "common/util.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