aboutsummaryrefslogtreecommitdiff
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-01 10:46:34 -0500
commit03eb46d4be01d389ccb88778047e6639ae132e0c (patch)
treef559059f67c16040c05ee1f6c67c290bc5bcb67c /nptl
parent0695940b8ab4b7e69492e8ea071d19fc17dda092 (diff)
downloadglibc-rsa/stdint_noheaders.tar
glibc-rsa/stdint_noheaders.tar.gz
glibc-rsa/stdint_noheaders.tar.bz2
glibc-rsa/stdint_noheaders.zip
Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).rsa/stdint_noheaders
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 6cfb54756c..d1121f0695 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,9 @@
+2013-05-01 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-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
* pthreadP.h (check_sched_policy_attr): New inline function.
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"