about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-09-20 04:43:33 +0000
committerUlrich Drepper <drepper@redhat.com>2002-09-20 04:43:33 +0000
commit2ed4a17c9aba7194dd51c766ea6b0ba781d6ce16 (patch)
treea7f3c9f36aef35c16de13d31c36bc1e8fa5b01a3
parent1f32abab6a02e3c9a634c61effeab4d09f1213a4 (diff)
downloadglibc-2ed4a17c9aba7194dd51c766ea6b0ba781d6ce16.tar.gz
glibc-2ed4a17c9aba7194dd51c766ea6b0ba781d6ce16.tar.xz
glibc-2ed4a17c9aba7194dd51c766ea6b0ba781d6ce16.zip
Update.
	* sysdeps/unix/sysv/linux/_exit.c: Include <errno.h>.
	(_exit): Don't use ABORT_INSTRUCTION if it is not defined.
	Reported by Glen Nakamura <glen@imodulo.com>.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/_exit.c1
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f15319355..ff564d6f9e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,8 @@
 2002-09-19  Ulrich Drepper  <drepper@redhat.com>
 
-	* sysdeps/unix/sysv/linux/_exit.c (_exit): Don't use ABORT_INSTRUCTION
-	if it is not defined.  Reported by Glen Nakamura <glen@imodulo.com>.
+	* sysdeps/unix/sysv/linux/_exit.c: Include <errno.h>.
+	(_exit): Don't use ABORT_INSTRUCTION if it is not defined.
+	Reported by Glen Nakamura <glen@imodulo.com>.
 
 2002-09-19  Neal H. Walfield  <neal@cs.uml.edu>
 
diff --git a/sysdeps/unix/sysv/linux/_exit.c b/sysdeps/unix/sysv/linux/_exit.c
index 25c38712d0..a8126a61f1 100644
--- a/sysdeps/unix/sysv/linux/_exit.c
+++ b/sysdeps/unix/sysv/linux/_exit.c
@@ -16,6 +16,7 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+#include <errno.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <sysdep.h>