From 00500eeb7dcf388261d3145e0ac521d0b1e10dc2 Mon Sep 17 00:00:00 2001 From: liaogang Date: Thu, 20 Jul 2017 09:40:27 +0800 Subject: [PATCH] Add stdlib.h for memcpy --- paddle/memory/memory.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paddle/memory/memory.cc b/paddle/memory/memory.cc index 67d2ae1bbda..a7d7fa0bfe4 100644 --- a/paddle/memory/memory.cc +++ b/paddle/memory/memory.cc @@ -16,6 +16,8 @@ limitations under the License. */ #include "paddle/memory/detail/buddy_allocator.h" #include "paddle/memory/detail/system_allocator.h" +#include // for memcpy + namespace paddle { namespace memory { -- GitLab