summaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-11-03 20:31:21 +0000
committerRoland McGrath <roland@gnu.org>2004-11-03 20:31:21 +0000
commitc4d7bd3907c64ce6ab670cfe97557881b6da2d32 (patch)
tree9666b5610ae0af2bd9cac86ac0e8d9b7895a7a7e /nptl
parent27bbfab0b7e474d34330679284e81c0b1e3a20e0 (diff)
* debug/tst-chk1.c (ret): New volatile variable.
(CHK_FAIL_END): Remove redundant ret setting. (do_test): Remote ret variable.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/sysdeps/unix/sysv/linux/smp.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 33e2d8ae44..f7c87c2632 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-02 Jakub Jelinek <jakub@redhat.com>
+
+ * sysdeps/unix/sysv/linux/smp.h: Include <errno.h>.
+
2004-10-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/sem_timedwait.S (sem_timedwait):
diff --git a/nptl/sysdeps/unix/sysv/linux/smp.h b/nptl/sysdeps/unix/sysv/linux/smp.h
index c1160a7939..4f4d358d32 100644
--- a/nptl/sysdeps/unix/sysv/linux/smp.h
+++ b/nptl/sysdeps/unix/sysv/linux/smp.h
@@ -17,6 +17,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <sys/sysctl.h>