Fix: Add missing pthread.h include
A message that is not in the archive (sent off-list or not yet received): [email protected]
This should be backported to stable-2.9.
Quoted 13 lines · Michael Jeanson
Some libc like musl and uClibc requires explicit includes of
pthread.hSigned-off-by Michael Jeanson <[email protected]>--- src/common/defaults.h | 1 + 1 file changed, 1 insertion(+)src/common/defaults.h +0
-0
src/common/defaults.h line 26
Quoted 7 lines
src/common/defaults.h +1
-0@@ -20,6 +20,7 @@#ifndef _DEFAULTS_H#define _DEFAULTS_H +#include <pthread.h> #include <src/common/macros.h> /* Default unix group name for tracing. */
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Thomas Petazzoni
Tested-byHello,
Quoted 3 lines · Michael Jeanson
Some libc like musl and uClibc requires explicit includes of
pthread.hSigned-off-by Michael Jeanson <[email protected]>
Tested-by Thomas Petazzoni <[email protected]>
This is indeed needed to fix the build on musl, I've integrated your patch in Buildroot for the time being.
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Jérémie Galarneau
AppliedMerged, thanks!
Jérémie
Quoted 22 lines · Michael Jeanson
Some libc like musl and uClibc requires explicit includes of
pthread.hSigned-off-by Michael Jeanson <[email protected]>--- src/common/defaults.h | 1 + 1 file changed, 1 insertion(+)src/common/defaults.h +1
-1@@ -20,6 +20,7 @@#ifndef _DEFAULTS_H#define _DEFAULTS_H +#include <pthread.h> #include <src/common/macros.h> /* Default unix group name for tracing. */ --2.7.4
Signature · 7 lines
Jérémie Galarneau EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev