diff --git a/frameworks/libhilog/base/hilog_base.c b/frameworks/libhilog/base/hilog_base.c index 7e344f657dc192886e543ac1e2aaed751e969b9d..b41dd8b21747d7a9b63f03124098076c9e6e4b4a 100644 --- a/frameworks/libhilog/base/hilog_base.c +++ b/frameworks/libhilog/base/hilog_base.c @@ -26,6 +26,10 @@ #include #include +#ifdef _GNU_SOURCE +const int +#endif + #define LOG_LEN 3 #define ERROR_FD 2