common: macros: missing include of pthread.h
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 2 Jun 2022 15:01:23 +0000 (11:01 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 13 Jun 2022 20:34:47 +0000 (16:34 -0400)
A number of macros in this file make use of pthread APIs. However, the
header is not included.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: If13df2434bd08269984c9589ff60a2bae4484ab3

src/common/macros.hpp

index 8875462edf284f379519947a2d4e43a60e7d554b..ecaaa4cda2edbb0c6fdc273bf67c858ebaa2f2f7 100644 (file)
@@ -15,6 +15,8 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <memory>
+#include <pthread.h>
 #include <type_traits>
 
 /*
This page took 0.042625 seconds and 5 git commands to generate.