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 <libo.c...@huawei.com>
---
 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

 /**
-- 
1.8.3


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to