diff --git a/paddle/fluid/string/pretty_log.cc b/paddle/fluid/string/pretty_log.cc index 4534fdc58b..c0715e644f 100644 --- a/paddle/fluid/string/pretty_log.cc +++ b/paddle/fluid/string/pretty_log.cc @@ -13,7 +13,7 @@ // limitations under the License. #include "paddle/fluid/string/pretty_log.h" -#include +#include "gflags/gflags.h" DEFINE_bool(color, true, "Whether to turn on pretty log"); diff --git a/paddle/fluid/string/pretty_log.h b/paddle/fluid/string/pretty_log.h index 5e2aedb22a..696e2bb04f 100644 --- a/paddle/fluid/string/pretty_log.h +++ b/paddle/fluid/string/pretty_log.h @@ -13,11 +13,11 @@ // limitations under the License. #pragma once -#include #include #include #include #include +#include "gflags/gflags.h" #include "paddle/fluid/string/printf.h"