From: Ovidiu Panait Date: Mon, 18 May 2020 13:39:26 +0000 (+0300) Subject: tests: gen-ust-events-ns/tp.h: Fix build with musl libc X-Git-Tag: v2.12.2~33 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=759bfaad8fa2ab638035e495ce1a68df9747f1cc;p=lttng-tools.git tests: gen-ust-events-ns/tp.h: Fix build with musl libc Fix the following build error with musl libc: In file included from ../../../../../lttng-tools-2.12.0/tests/utils/testapp/gen-ust-events-ns/tp.h:14, from ../../../../../lttng-tools-2.12.0/tests/utils/testapp/gen-ust-events-ns/tp.c:10: ../../../../../lttng-tools-2.12.0/tests/utils/testapp/gen-ust-events-ns/tp.h:17:10: error: unknown type name 'ino_t'; did you mean 'int8_t'? 17 | TP_ARGS(ino_t, ns_ino), | ^~~~~ ../../../../../lttng-tools-2.12.0/tests/utils/testapp/gen-ust-events-ns/tp.h:17:10: error: unknown type name 'ino_t'; did you mean 'int8_t'? 17 | TP_ARGS(ino_t, ns_ino), | ^~~~~ ../../../../../lttng-tools-2.12.0/tests/utils/testapp/gen-ust-events-ns/./tp.h:17:2: error: unknown type name 'ino_t'; did you mean 'int8_t'? 17 | TP_ARGS(ino_t, ns_ino), | ^~~~~~~ ../../../../../lttng-tools-2.12.0/tests/utils/testapp/gen-ust-events-ns/./tp.h:17:2: error: unknown type name 'ino_t'; did you mean 'int8_t'? 17 | TP_ARGS(ino_t, ns_ino), | ^~~~~~~ Signed-off-by: Ovidiu Panait Signed-off-by: Jérémie Galarneau Change-Id: Ic7a73c6754fc30a62bdf6519062c07be65a2eaba --- diff --git a/tests/utils/testapp/gen-ust-events-ns/tp.h b/tests/utils/testapp/gen-ust-events-ns/tp.h index 4dbfed51a..e0ddb29a6 100644 --- a/tests/utils/testapp/gen-ust-events-ns/tp.h +++ b/tests/utils/testapp/gen-ust-events-ns/tp.h @@ -11,6 +11,7 @@ #if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ) #define _TRACEPOINT_TP_H +#include #include TRACEPOINT_EVENT(tp, tptest,