about summary refs log tree commit diff
path: root/malloc/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r--malloc/malloc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 1cb374df26..c26d6676aa 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -255,6 +255,8 @@
 #include <sys/types.h>
 #endif
 
+#include <malloc-machine.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -1443,11 +1445,10 @@ int      __posix_memalign(void **, size_t, size_t);
 #endif
 
 #ifdef __cplusplus
-};  /* end of extern "C" */
+} /* end of extern "C" */
 #endif
 
 #include <malloc.h>
-#include "thread-m.h"
 
 #ifndef BOUNDED_N
 #define BOUNDED_N(ptr, sz) (ptr)