This is an automated email from the ASF dual-hosted git repository. zwoop pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 169803565419e163f3470ce8bc38ecac2dd4d354 Author: Johan Bergström <[email protected]> AuthorDate: Tue Nov 7 11:46:58 2017 -0300 lib/ts/ink_{defs,error}: modify imports `<linux/sysctl.h>` seems unused (and additionally breaks if using musl, since it assumes it lives elsewhere) and defs missed the *printf declaraitons. --- lib/ts/ink_defs.cc | 1 - lib/ts/ink_error.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ts/ink_defs.cc b/lib/ts/ink_defs.cc index 6d63a02..65b02f5 100644 --- a/lib/ts/ink_defs.cc +++ b/lib/ts/ink_defs.cc @@ -33,7 +33,6 @@ #if defined(linux) || defined(freebsd) || defined(darwin) #include <sys/types.h> #include <sys/param.h> -#include <sys/sysctl.h> #endif #if defined(linux) #include <sys/utsname.h> diff --git a/lib/ts/ink_error.h b/lib/ts/ink_error.h index d695d52..1962c6e 100644 --- a/lib/ts/ink_error.h +++ b/lib/ts/ink_error.h @@ -33,6 +33,7 @@ #define _ink_error_h_ #include <stdarg.h> +#include <stdio.h> #include "ts/ink_platform.h" #include "ts/ink_apidefs.h" -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
