From: Ulrich Drepper Date: Sun, 8 Jul 2001 07:32:45 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_2_4~244 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3f8be6d13d065287a55177878ebac4b75e197e2;p=thirdparty%2Fglibc.git Update. * iconv/iconv_prog.c (main): Don't unconditionally define variables only use if _POSIX_MAPPED_FILES is defined. --- diff --git a/ChangeLog b/ChangeLog index 959ccb1dcc0..2ccd09bd8f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2001-07-08 Ulrich Drepper + * iconv/iconv_prog.c (main): Don't unconditionally define + variables only use if _POSIX_MAPPED_FILES is defined. + * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type. * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise. diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c index 59e120fe3f3..00b4b956728 100644 --- a/iconv/iconv_prog.c +++ b/iconv/iconv_prog.c @@ -246,8 +246,10 @@ main (int argc, char *argv[]) else do { +#ifdef _POSIX_MAPPED_FILES struct stat st; char *addr; +#endif int fd; if (verbose)