From 4ce35815fb08ef440a4079c0c115fcb156196ec0 Mon Sep 17 00:00:00 2001 From: dongdaxiang Date: Wed, 27 Mar 2019 11:08:41 +0800 Subject: [PATCH] fix windows GLOG problem test=develop --- paddle/fluid/framework/device_worker.h | 1 + paddle/fluid/framework/trainer.h | 1 + 2 files changed, 2 insertions(+) diff --git a/paddle/fluid/framework/device_worker.h b/paddle/fluid/framework/device_worker.h index 2f06a02cade..8e211fcb9d8 100644 --- a/paddle/fluid/framework/device_worker.h +++ b/paddle/fluid/framework/device_worker.h @@ -32,6 +32,7 @@ limitations under the License. */ #include "paddle/fluid/framework/variable_helper.h" #include "paddle/fluid/operators/reader/blocking_queue.h" #include "paddle/fluid/platform/place.h" +#includw "paddle/fluid/platform/port.h" #include "paddle/fluid/platform/timer.h" namespace paddle { diff --git a/paddle/fluid/framework/trainer.h b/paddle/fluid/framework/trainer.h index 6d99a1ba87d..b2cf79531c4 100644 --- a/paddle/fluid/framework/trainer.h +++ b/paddle/fluid/framework/trainer.h @@ -25,6 +25,7 @@ limitations under the License. */ #include "paddle/fluid/framework/data_set.h" #include "paddle/fluid/framework/device_worker.h" #include "paddle/fluid/framework/lod_tensor.h" +#includw "paddle/fluid/platform/port.h" #include "paddle/fluid/framework/program_desc.h" #include "paddle/fluid/framework/reader.h" #include "paddle/fluid/framework/trainer_desc.pb.h" -- GitLab