aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2017-10-20 17:39:47 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2017-10-20 17:39:47 +0100
commit6d43de4b85b11d26a19bebe4f55f31be16e3d419 (patch)
tree8c9b14b67a1c510e1adf82e6b51bda1bd9caeac4
parenta15d53e2de4c7d83bda251469d92a3c7b49a90db (diff)
downloadglibc-6d43de4b85b11d26a19bebe4f55f31be16e3d419.zip
glibc-6d43de4b85b11d26a19bebe4f55f31be16e3d419.tar.gz
glibc-6d43de4b85b11d26a19bebe4f55f31be16e3d419.tar.bz2
Fix build issue with SINGLE_THREAD_P
Add sysdep-cancel.h include. * malloc/malloc.c (sysdep-cancel.h): Add include.
-rw-r--r--ChangeLog4
-rw-r--r--malloc/malloc.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0eb9bae..f0512c5 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-20 Will Hawkins <hawkinsw@borlaugic.com>
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 4db21cc..32b6e96 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: