[PATCH 08/10] Fix build issue with SINGLE_THREAD_P

Siddhesh Poyarekar siddhesh@sourceware.org
Sun Jan 1 00:00:00 GMT 2017


From: Wilco Dijkstra <wdijkstr@arm.com>

Add sysdep-cancel.h include.

	* malloc/malloc.c (sysdep-cancel.h): Add include.

(cherry-picked 6d43de4b85b11d26a19bebe4f55f31be16e3d419)
---
 ChangeLog       | 4 ++++
 malloc/malloc.c | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 30e6f50..06da839 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2017-10-20  Wilco Dijkstra  <wdijkstr@arm.com>
 
+	* malloc/malloc.c (sysdep-cancel.h): Add include.
+
+2017-10-20  Wilco Dijkstra  <wdijkstr@arm.com>
+
 	* malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
 
 2017-10-19  Wilco Dijkstra  <wdijkstr@arm.com>
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 78676a6..236ded8 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -243,6 +243,9 @@
 
 #include <malloc/malloc-internal.h>
 
+/* For SINGLE_THREAD_P.  */
+#include <sysdep-cancel.h>
+
 /*
   Debugging:
 
-- 
2.7.5



More information about the Libc-stable mailing list