diff --git a/paddle/fluid/inference/api/api.cc b/paddle/fluid/inference/api/api.cc index d5415c3f26e0310ed5414e4ac0ff9b89ff853547..591341b3644735e2c3d6dc09dba571c16ac41858 100644 --- a/paddle/fluid/inference/api/api.cc +++ b/paddle/fluid/inference/api/api.cc @@ -13,6 +13,7 @@ // limitations under the License. #include +#include "gflags/gflags.h" #include "paddle/fluid/framework/commit.h" #include "paddle/fluid/framework/lod_tensor.h" #include "paddle/fluid/framework/scope.h" diff --git a/paddle/fluid/inference/api/paddle_api.h b/paddle/fluid/inference/api/paddle_api.h index 15fb96cae3678e211982391a19c1ac119bb563c4..11d30d3347c85038527c28cd502fc362fc635fb2 100644 --- a/paddle/fluid/inference/api/paddle_api.h +++ b/paddle/fluid/inference/api/paddle_api.h @@ -27,7 +27,6 @@ #include #include #include -#include "gflags/gflags.h" // NOLINT #include "paddle_infer_declare.h" // NOLINT /*! \namespace paddle