From: Vivien Delmon Date: Wed, 11 Apr 2012 15:47:22 +0000 (+0200) Subject: Add missing include of unistd.h X-Git-Tag: v1.3.0~57 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=cff8cd85cd14a2e0fa2e80975a432fa8552e843c;p=clitk.git Add missing include of unistd.h - gcc 4.7 standard library does not include unistd.h anymore. --- diff --git a/common/clitkMemoryUsage.cxx b/common/clitkMemoryUsage.cxx index 12cb91c..c0b78ce 100644 --- a/common/clitkMemoryUsage.cxx +++ b/common/clitkMemoryUsage.cxx @@ -19,6 +19,7 @@ // clitk include #include "clitkCommon.h" #include "clitkMemoryUsage.h" +#include void clitk::PrintMemory(bool verbose, std::string s) { diff --git a/common/clitkXdrImageIOWriter.cxx b/common/clitkXdrImageIOWriter.cxx index a9eb77b..1e826db 100644 --- a/common/clitkXdrImageIOWriter.cxx +++ b/common/clitkXdrImageIOWriter.cxx @@ -97,6 +97,7 @@ void clitk::XdrImageIO::Write(const void* buffer) #include #include #include +#include #if !defined(unix) && !defined(__APPLE__) #include #endif