From b3364d40350c95e7fc804f79dfac42057590c108 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Wed, 21 Nov 2018 10:03:50 +0800 Subject: [PATCH] fix(Macos): fix compile on macos test=develop --- paddle/fluid/memory/allocation/best_fit_allocator_test.cc | 1 + paddle/fluid/memory/allocation/best_fit_allocator_test.cu | 1 + 2 files changed, 2 insertions(+) diff --git a/paddle/fluid/memory/allocation/best_fit_allocator_test.cc b/paddle/fluid/memory/allocation/best_fit_allocator_test.cc index 4122b3d70..20748a23a 100644 --- a/paddle/fluid/memory/allocation/best_fit_allocator_test.cc +++ b/paddle/fluid/memory/allocation/best_fit_allocator_test.cc @@ -13,6 +13,7 @@ // limitations under the License. #include "paddle/fluid/memory/allocation/best_fit_allocator.h" +#include #include // NOLINT #include #include "gtest/gtest.h" diff --git a/paddle/fluid/memory/allocation/best_fit_allocator_test.cu b/paddle/fluid/memory/allocation/best_fit_allocator_test.cu index 50aecda97..f7f17e1d3 100644 --- a/paddle/fluid/memory/allocation/best_fit_allocator_test.cu +++ b/paddle/fluid/memory/allocation/best_fit_allocator_test.cu @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +#include #include // NOLINT #include #include "gtest/gtest.h" -- GitLab