aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2013-01-28 17:51:03 +0100
committerAndreas Schwab <schwab@suse.de>2013-02-04 10:01:54 +0100
commit903ae060db90aa1d72aa67afbc5a5ecabdcdbef7 (patch)
tree765f691bf506bef1017d12024366e48ca17cb831 /nptl
parent542f94662e8235d9917b0783df70bcdf9d729503 (diff)
downloadglibc-903ae060db90aa1d72aa67afbc5a5ecabdcdbef7.zip
glibc-903ae060db90aa1d72aa67afbc5a5ecabdcdbef7.tar.gz
glibc-903ae060db90aa1d72aa67afbc5a5ecabdcdbef7.tar.bz2
Don't use GLIBC_PRIVATE errno outside of libraries
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog8
-rw-r--r--nptl/tst-cancel14.c1
-rw-r--r--nptl/tst-cancel15.c1
-rw-r--r--nptl/tst-mutex9.c3
-rw-r--r--nptl/tst-stackguard1.c1
5 files changed, 14 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index c4f6c63..bcc1660 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,11 @@
+2013-02-04 Andreas Schwab <schwab@suse.de>
+
+ [BZ #14142]
+ * tst-cancel14.c: Include <sys/time.h>.
+ * tst-cancel15.c: Likewise.
+ * tst-mutex9.c: Include <stdint.h>, <stdlib.h> and <sys/time.h>.
+ * tst-stackguard1.c: Include <tls.h>
+
2013-01-16 Andreas Schwab <schwab@suse.de>
[BZ #14327]
diff --git a/nptl/tst-cancel14.c b/nptl/tst-cancel14.c
index fbaed49..ca9042d 100644
--- a/nptl/tst-cancel14.c
+++ b/nptl/tst-cancel14.c
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <sys/time.h>
static pthread_barrier_t bar;
diff --git a/nptl/tst-cancel15.c b/nptl/tst-cancel15.c
index 0119cc7..3f320ad 100644
--- a/nptl/tst-cancel15.c
+++ b/nptl/tst-cancel15.c
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <sys/time.h>
static pthread_barrier_t bar;
diff --git a/nptl/tst-mutex9.c b/nptl/tst-mutex9.c
index adb3b61..1d689bd 100644
--- a/nptl/tst-mutex9.c
+++ b/nptl/tst-mutex9.c
@@ -18,10 +18,13 @@
#include <errno.h>
#include <pthread.h>
+#include <stdint.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/mman.h>
+#include <sys/time.h>
#include <sys/wait.h>
diff --git a/nptl/tst-stackguard1.c b/nptl/tst-stackguard1.c
index f0f707f..57a48ad 100644
--- a/nptl/tst-stackguard1.c
+++ b/nptl/tst-stackguard1.c
@@ -24,6 +24,7 @@
#include <string.h>
#include <sys/wait.h>
#include <stackguard-macros.h>
+#include <tls.h>
#include <unistd.h>
static const char *command;