Including src/common causes LTTng files that clash with system headers
to be included before the system headers and breaks the build on
multiple platforms and architectures.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Iff7b6e7000d907dc076a467d223c91569b783861
filter_grammar_test_SOURCES = filter-grammar-test.c
filter_grammar_test_LDADD = \
libcommon.la
-filter_grammar_test_CFLAGS = -I $(top_builddir)/src/common
all-local:
@if [ x"$(srcdir)" != x"$(builddir)" ]; then \
#include <inttypes.h>
#include <common/compat/errno.h>
-#include "common/bytecode/bytecode.h"
-#include "filter/filter-ast.h"
-#include "filter/filter-parser.h"
+#include <common/bytecode/bytecode.h>
+#include <common/filter/filter-ast.h>
+#include <common/filter/filter-parser.h>
/* For error.h */
int lttng_opt_quiet = 1;