summaryrefslogtreecommitdiff
path: root/gcc/java/lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/lex.h')
-rw-r--r--gcc/java/lex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/lex.h b/gcc/java/lex.h
index cf29aa16a70..68cb1c0e5eb 100644
--- a/gcc/java/lex.h
+++ b/gcc/java/lex.h
@@ -35,7 +35,7 @@ extern int lineno;
/* A Unicode character, as read from the input file */
typedef unsigned short unicode_t;
-#ifdef HAVE_ICONV
+#ifdef HAVE_ICONV_H
#include <iconv.h>
#endif /* HAVE_ICONV */