about summary refs log tree commit diff
diff options
context:
space:
mode:
-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>