about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-01 10:46:34 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-16 11:32:54 -0500
commite054f494306530720114b321b3d97ca2f397cbbb (patch)
tree08bd9b3309787b98c196961d5c8480bf65c7b2a8 /nptl
parent8c75f67421af1e6680ac465f49672021b6571904 (diff)
downloadglibc-e054f494306530720114b321b3d97ca2f397cbbb.tar.gz
glibc-e054f494306530720114b321b3d97ca2f397cbbb.tar.xz
glibc-e054f494306530720114b321b3d97ca2f397cbbb.zip
Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog6
-rw-r--r--nptl/pthread_create.c1
-rw-r--r--nptl/sysdeps/pthread/createthread.c1
3 files changed, 8 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 597b3bdee3..6e5ca4cfa0 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,9 @@
+2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
+
+	* pthread_create.c: Add missing #include <stdint.h> due to uint64_t or
+	uint32_t usage.
+	* sysdeps/pthread/createthread.c: Likewise.
+
 2013-05-14  Andreas Jaeger  <aj@suse.de>
 
 	[BZ #10686]
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
index c43077fe2d..b78bd95c46 100644
--- a/nptl/pthread_create.c
+++ b/nptl/pthread_create.c
@@ -21,6 +21,7 @@
 #include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdint.h>
 #include "pthreadP.h"
 #include <hp-timing.h>
 #include <ldsodefs.h>
diff --git a/nptl/sysdeps/pthread/createthread.c b/nptl/sysdeps/pthread/createthread.c
index b0f686d25f..d24136b0e3 100644
--- a/nptl/sysdeps/pthread/createthread.c
+++ b/nptl/sysdeps/pthread/createthread.c
@@ -23,6 +23,7 @@
 #include <atomic.h>
 #include <ldsodefs.h>
 #include <tls.h>
+#include <stdint.h>
 
 #include "kernel-features.h"