This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Fix sysdeps/generic/segfault.c
- To: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- Subject: Fix sysdeps/generic/segfault.c
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Thu, 12 Jul 2001 11:22:08 -0700
- Cc: aj at suse dot de
When you access errno and ENOENT, shouldn't you include <errno.h>
first? Without it, it failed to compile on Linux/mips.
H.J.
---
2001-07-12 H.J. Lu <hjl@gnu.org>
* sysdeps/generic/segfault.c: Include <errno.h>.
--- sysdeps/generic/segfault.c.errno Thu Jul 12 09:52:56 2001
+++ sysdeps/generic/segfault.c Thu Jul 12 11:17:05 2001
@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <errno.h>
#include <stdio-common/_itoa.h>
#include <bp-checks.h>