From 152194ed48de20a5189b610bd8d3d26fea95c2ce Mon Sep 17 00:00:00 2001 From: malaterre Date: Sun, 12 Sep 2004 01:40:09 +0000 Subject: [PATCH] FIX: icc could not build otherwise --- Testing/TestCopyDicom.cxx | 4 ++++ src/gdcmFile.h | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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 -- 2.48.1