about summary refs log tree commit diff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/i386/tls.h1
-rw-r--r--nptl/sysdeps/x86_64/tls.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/nptl/sysdeps/i386/tls.h b/nptl/sysdeps/i386/tls.h
index 4c3a73effc..34783649b2 100644
--- a/nptl/sysdeps/i386/tls.h
+++ b/nptl/sysdeps/i386/tls.h
@@ -23,6 +23,7 @@
 #ifndef __ASSEMBLER__
 # include <stddef.h>
 # include <stdint.h>
+# include <stdlib.h>
 
 
 /* Type for the dtv.  */
diff --git a/nptl/sysdeps/x86_64/tls.h b/nptl/sysdeps/x86_64/tls.h
index 8a4b718cf0..af3d202d5b 100644
--- a/nptl/sysdeps/x86_64/tls.h
+++ b/nptl/sysdeps/x86_64/tls.h
@@ -23,6 +23,7 @@
 #ifndef __ASSEMBLER__
 # include <stddef.h>
 # include <stdint.h>
+# include <stdlib.h>
 
 
 /* Type for the dtv.  */