about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/generic/segfault.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 42ae6f5655..ea0766ec47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-07-12  H.J. Lu  <hjl@gnu.org>
+
+	* sysdeps/generic/segfault.c: Include <errno.h>.
+
 2001-07-01  Andreas Jaeger  <aj@suse.de>
 
 	* sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
diff --git a/sysdeps/generic/segfault.c b/sysdeps/generic/segfault.c
index 7e364f025f..dc4ac178ee 100644
--- a/sysdeps/generic/segfault.c
+++ b/sysdeps/generic/segfault.c
@@ -19,6 +19,7 @@
    02111-1307 USA.  */
 
 #include <ctype.h>
+#include <errno.h>
 #include <execinfo.h>
 #include <fcntl.h>
 #include <signal.h>