On 2013/8/12 14:18, Libo Chen wrote:
>
Hi Ivana,
what do you think about this patch ?
> libcg was compiled failed in suse sp2 with libc-2.11.3:
> "include/libcgroup/log.h:90: error: expected declaration specifiers
> or '...' before 'va_list'"
>
> so add #include <stdarg.h>
>
> Signed-off-by: Libo Chen <[email protected]>
> ---
> include/libcgroup/log.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/libcgroup/log.h b/include/libcgroup/log.h
> index 70e5c18..0dd03b4 100644
> --- a/include/libcgroup/log.h
> +++ b/include/libcgroup/log.h
> @@ -9,6 +9,8 @@
> #include <features.h>
> #endif
>
> +#include <stdarg.h>
> +
> __BEGIN_DECLS
>
> /**
>
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel