aboutsummaryrefslogtreecommitdiff
path: root/iconv
diff options
context:
space:
mode:
Diffstat (limited to 'iconv')
-rw-r--r--iconv/iconv_prog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c
index 59e120fe3f..00b4b95672 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)