From 50771faa8936b70c360f443c35c2f134e39f7bf9 Mon Sep 17 00:00:00 2001 From: genius <839256767@qq.com> Date: Sun, 14 Sep 2014 16:39:17 +0800 Subject: [PATCH] add unistd.h for close() calling --- src/CLSharedMemory.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CLSharedMemory.cpp b/src/CLSharedMemory.cpp index 9a37eb1..5fb96f3 100644 --- a/src/CLSharedMemory.cpp +++ b/src/CLSharedMemory.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include "CLSharedMemory.h" #include "CLLogger.h" #include "CLCriticalSection.h" @@ -101,4 +102,4 @@ int CLSharedMemory::GetRefCount() } return buf.shm_nattch; -} \ No newline at end of file +}