]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nptl/tst-join7mod.c
Add per-thread cache to malloc
[thirdparty/glibc.git] / nptl / tst-join7mod.c
index a35db509f04aae48fa240e88dfb3a0fc859f39f5..7b94af6d54fe92517a43331191cd10a7087ab492 100644 (file)
@@ -1,6 +1,6 @@
 /* Verify that TLS access in separate thread in a dlopened library does not
    deadlock - the module.
-   Copyright (C) 2015 Free Software Foundation, Inc.
+   Copyright (C) 2015-2017 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -18,6 +18,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <pthread.h>
 #include <atomic.h>