From: malaterre Date: Sun, 12 Sep 2004 01:40:09 +0000 (+0000) Subject: FIX: icc could not build otherwise X-Git-Tag: Version0.6.bp~212 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=152194ed48de20a5189b610bd8d3d26fea95c2ce;p=gdcm.git FIX: icc could not build otherwise --- diff --git a/Testing/TestCopyDicom.cxx b/Testing/TestCopyDicom.cxx index a5b6dfa3..e67a9926 100644 --- a/Testing/TestCopyDicom.cxx +++ b/Testing/TestCopyDicom.cxx @@ -6,6 +6,10 @@ //Generated file: #include "gdcmDataImages.h" +#ifndef _WIN32 +#include //for access, unlink +#endif + // return true if the file exists bool FileExists(const char* filename) { diff --git a/src/gdcmFile.h b/src/gdcmFile.h index a78434c2..0f3ed6bf 100644 --- a/src/gdcmFile.h +++ b/src/gdcmFile.h @@ -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