[cfe-commits] [libcxxabi] r148749 - /libcxxabi/trunk/src/fallback_malloc.cpp

Howard Hinnant hhinnant at apple.com
Mon Jan 23 15:51:56 PST 2012


Author: hhinnant
Date: Mon Jan 23 17:51:56 2012
New Revision: 148749

URL: http://llvm.org/viewvc/llvm-project?rev=148749&view=rev
Log:
Added missing #include

Modified:
    libcxxabi/trunk/src/fallback_malloc.cpp

Modified: libcxxabi/trunk/src/fallback_malloc.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/fallback_malloc.cpp?rev=148749&r1=148748&r2=148749&view=diff
==============================================================================
--- libcxxabi/trunk/src/fallback_malloc.cpp (original)
+++ libcxxabi/trunk/src/fallback_malloc.cpp Mon Jan 23 17:51:56 2012
@@ -22,6 +22,8 @@
 //  for each chunk. The overhead of each chunk is kept low by keeping pointers
 //  as two byte offsets within the heap, rather than (4 or 8 byte) pointers.
 
+#include <pthread.h>
+
 namespace {
 
 static pthread_mutex_t heap_mutex = PTHREAD_MUTEX_INITIALIZER;





More information about the cfe-commits mailing list