From cff8cd85cd14a2e0fa2e80975a432fa8552e843c Mon Sep 17 00:00:00 2001 From: Vivien Delmon Date: Wed, 11 Apr 2012 17:47:22 +0200 Subject: [PATCH] Add missing include of unistd.h - gcc 4.7 standard library does not include unistd.h anymore. --- common/clitkMemoryUsage.cxx | 1 + common/clitkXdrImageIOWriter.cxx | 1 + 2 files changed, 2 insertions(+) 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 -- 2.47.1