summaryrefslogtreecommitdiff
path: root/utils/iconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/iconv.c')
-rw-r--r--utils/iconv.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/utils/iconv.c b/utils/iconv.c
index 04e2c32eb..a0260df93 100644
--- a/utils/iconv.c
+++ b/utils/iconv.c
@@ -108,7 +108,12 @@
#include <wchar.h>
#include "wchar.c" /* for _UC_iconv_t and __iconv_codesets */
-extern const unsigned char __iconv_codesets[];
+#ifdef L_iconv_main
+static
+#else
+extern
+#endif
+const unsigned char __iconv_codesets[];
#define IBUF BUFSIZ
#define OBUF BUFSIZ