]> Creatis software - gdcm.git/commitdiff
FIX: Pb on recent linux machine
authormalaterre <malaterre>
Fri, 3 Sep 2004 15:52:39 +0000 (15:52 +0000)
committermalaterre <malaterre>
Fri, 3 Sep 2004 15:52:39 +0000 (15:52 +0000)
Example/TestCopyDicom.cxx

index f1b4978f92ce9128c458da4fb0f9e8dde0623dff..76047119c11d40ccb4b9388a0b56503c09ab44c5 100644 (file)
@@ -3,6 +3,10 @@
 #include "gdcmDocument.h"
 #include "gdcmValEntry.h"
 
+#ifndef _WIN32
+#include <unistd.h>
+#endif
+
 // return true if the file exists
 bool FileExists(const char* filename)
 {