]> Creatis software - gdcm.git/commitdiff
FIX: icc could not build otherwise
authormalaterre <malaterre>
Sun, 12 Sep 2004 01:40:09 +0000 (01:40 +0000)
committermalaterre <malaterre>
Sun, 12 Sep 2004 01:40:09 +0000 (01:40 +0000)
Testing/TestCopyDicom.cxx
src/gdcmFile.h

index a5b6dfa3ce8aed993a34c1d2b6bd04a30a2179f7..e67a9926ce380aebb25487a81fa6963cd9a313e3 100644 (file)
@@ -6,6 +6,10 @@
 //Generated file:
 #include "gdcmDataImages.h"
 
+#ifndef _WIN32
+#include <unistd.h> //for access, unlink
+#endif
+
 // return true if the file exists
 bool FileExists(const char* filename)
 {
index a78434c2e76be7ddf56f3155ba4ff01e14ebe90d..0f3ed6bf19f7a1a3a9ef95c019b2590fa2f0a6de 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmFile.h,v $
   Language:  C++
-  Date:      $Date: 2004/09/10 18:54:39 $
-  Version:   $Revision: 1.45 $
+  Date:      $Date: 2004/09/12 01:40:09 $
+  Version:   $Revision: 1.46 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -94,7 +94,7 @@ protected:
 
 private:
    void SwapZone(void* im, int swap, int lgr, int nb);
-   void gdcmFile::SetInitialValues();  
+   void SetInitialValues();  
    bool ReadPixelData(void * destination);
    
    // For JPEG 8 Bits, body in file gdcmJpeg.cxx