From a63faa90f70c34cef31d7eccd9165c2d4c11b7a2 Mon Sep 17 00:00:00 2001 From: Timothy James Jonas Date: Wed, 9 Nov 2016 10:55:49 +1000 Subject: [PATCH] Added math.h header to file_cache_row.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added #include Fixed error while running make. Error: src/file_cache_row.cpp: In static member function ‘static int CacheManager::numChunks(size_t)’: src/file_cache_row.cpp:70:59: error: ‘ceil’ was not declared in this scope return 8 + ceil(float(pos-end)/(8.0*ChunkedHash::SEGSIZE)); --- src/file_cache_row.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/file_cache_row.cpp b/src/file_cache_row.cpp index 4d0e096..bc08ff7 100644 --- a/src/file_cache_row.cpp +++ b/src/file_cache_row.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include