This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix sysdeps/generic/segfault.c


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]