提交 398004ec 编写于 作者: D dongdaxiang

disable sys/wait.h to fix windows compile problem, include scope in lodtensor_printer

test=develop
上级 d4514949
...@@ -22,7 +22,9 @@ ...@@ -22,7 +22,9 @@
#include <sys/syscall.h> #include <sys/syscall.h>
#endif #endif
#include <sys/types.h> #include <sys/types.h>
#ifndef _WIN32
#include <sys/wait.h> #include <sys/wait.h>
#endif
#include <memory> #include <memory>
#include <string> #include <string>
#include <utility> #include <utility>
......
...@@ -14,6 +14,7 @@ limitations under the License. */ ...@@ -14,6 +14,7 @@ limitations under the License. */
#include "paddle/fluid/platform/lodtensor_printer.h" #include "paddle/fluid/platform/lodtensor_printer.h"
#include "paddle/fluid/framework/lod_tensor_array.h" #include "paddle/fluid/framework/lod_tensor_array.h"
#include "paddle/fluid/framework/scope.h"
#include "paddle/fluid/framework/variable.h" #include "paddle/fluid/framework/variable.h"
namespace paddle { namespace paddle {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册