http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52694 --- native/jni/java-io/java_io_VMConsole.c.orig 2012-01-08 06:35:53.000000000 -0600 +++ native/jni/java-io/java_io_VMConsole.c 2012-03-29 04:32:34.000000000 -0500 @@ -47,6 +47,10 @@ /*************************************************************************/ +#ifndef IUCLC +#define IUCLC 0 +#endif + #define TERMIOS_ECHO_IFLAGS (IUCLC|IXON|IXOFF|IXANY) #define TERMIOS_ECHO_LFLAGS (ECHO|ECHOE|ECHOK|ECHONL|TOSTOP)