summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--elf/rtld.c1
-rw-r--r--sysdeps/generic/libc-tls.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index accebe7b87..8c27cb5791 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2002-08-07  Ulrich Drepper  <drepper@redhat.com>
 
 	* elf/rtld.c: Include <errno.h>.
+	* sysdeps/generic/libc-tls.c: Likewise.
 
 2002-08-07  Roland McGrath  <roland@redhat.com>
 
diff --git a/elf/rtld.c b/elf/rtld.c
index 44ff5cb492..8a144730ca 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -17,6 +17,7 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+#include <errno.h>
 #include <fcntl.h>
 #include <stdbool.h>
 #include <stdlib.h>
diff --git a/sysdeps/generic/libc-tls.c b/sysdeps/generic/libc-tls.c
index 6c01f417c5..af8b8868d4 100644
--- a/sysdeps/generic/libc-tls.c
+++ b/sysdeps/generic/libc-tls.c
@@ -17,6 +17,7 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+#include <errno.h>
 #include <ldsodefs.h>
 #include <tls.h>
 #include <unistd.h>