This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
typo in libc_fatal.c
- From: "Alfred M. Szmidt" <ams at kemisten dot nu>
- To: libc-alpha at sources dot redhat dot com
- Date: Wed, 17 Nov 2004 04:03:58 +0100
- Subject: typo in libc_fatal.c
- Reply-to: ams at kemisten dot nu
Fix for the following applied
../sysdeps/posix/libc_fatal.c: In function `__libc_message':
../sysdeps/posix/libc_fatal.c:75: warning: initialization discards qualifiers from pointer target type
../sysdeps/posix/libc_fatal.c:111: error: invalid application of `sizeof' to an incomplete type
../sysdeps/posix/libc_fatal.c:116: error: invalid use of undefined type `struct iovec'
../sysdeps/posix/libc_fatal.c:116: error: dereferencing pointer to incomplete type
../sysdeps/posix/libc_fatal.c:117: error: invalid use of undefined type `struct iovec'
../sysdeps/posix/libc_fatal.c:117: error: dereferencing pointer to incomplete type
../sysdeps/posix/libc_fatal.c:122: warning: implicit declaration of function `__writev'
2004-11-17 Alfred M. Szmidt <ams@gnu.org>
* sysdeps/posix/libc_fatal.c: Include <sys/uio.h>.
--- sysdeps/posix/libc_fatal.c.~1.14.~ 2004-11-17 03:44:46.000000000 +0100
+++ sysdeps/posix/libc_fatal.c 2004-11-17 03:59:56.000000000 +0100
@@ -27,6 +27,7 @@
#include <sysdep.h>
#include <unistd.h>
#include <sys/syslog.h>
+#include <sys/uio.h>
#include <not-cancel.h>
#ifdef FATAL_PREPARE_INCLUDE