From: Hui Zhu Date: Thu, 23 Aug 2012 12:07:32 +0000 (-0400) Subject: Fix trace-collection.h: No such file or directory that build code with libbabeltrace X-Git-Tag: v1.0.0-rc5~16 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=45b2e4ed4f35a6afe5cdba8043a620c847bcda38;ds=sidebyside Fix trace-collection.h: No such file or directory that build code with libbabeltrace After I install the babeltrace and try to build a code, I got this: gcc -Wall -g 1.c -lbabeltrace -lbabeltrace-ctf In file included from 1.c:11:0: /usr/local/include/babeltrace/babeltrace.h:23:41: fatal error: babeltrace/trace-collection.h: No such file or directory compilation terminated. I check the code, looks most of function of trace-collection.h is covered by context.h. Signed-off-by: Mathieu Desnoyers --- diff --git a/include/babeltrace/babeltrace.h b/include/babeltrace/babeltrace.h index 623967eb..8eae5384 100644 --- a/include/babeltrace/babeltrace.h +++ b/include/babeltrace/babeltrace.h @@ -20,7 +20,6 @@ #include #include #include -#include #include #endif /* _BABELTRACE_H */