From d3f8be6d13d065287a55177878ebac4b75e197e2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 8 Jul 2001 07:32:45 +0000 Subject: Update. * iconv/iconv_prog.c (main): Don't unconditionally define variables only use if _POSIX_MAPPED_FILES is defined. --- iconv/iconv_prog.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'iconv/iconv_prog.c') diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c index 59e120f..00b4b95 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) -- cgit v1.1