All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH lttng-tools] Fix: Add missing pthread.h include
@ 2016-12-05 20:39 Michael Jeanson
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Jeanson @ 2016-12-05 20:39 UTC (permalink / raw)
  To: lttng-dev; +Cc: jgalar

Some libc like musl and uClibc requires explicit includes of pthread.h

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
---
 src/common/defaults.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/common/defaults.h b/src/common/defaults.h
index 27f1ddc..37d222a 100644
--- a/src/common/defaults.h
+++ b/src/common/defaults.h
@@ -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

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-09 19:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1480970366-14140-1-git-send-email-mjeanson@efficios.com>
2016-12-05 20:40 ` [PATCH lttng-tools] Fix: Add missing pthread.h include Michael Jeanson
2016-12-07 21:38 ` Thomas Petazzoni
2017-01-09 19:11 ` Jérémie Galarneau
2016-12-05 20:39 Michael Jeanson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.