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]
Other format: [Raw text]

typo in libc_fatal.c


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


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