Index: iterm/lib/src/unix/tty/ttyio.c =================================================================== --- iterm.orig/lib/src/unix/tty/ttyio.c +++ iterm/lib/src/unix/tty/ttyio.c @@ -7,6 +7,8 @@ Further information about Common Public License Version 0.5 is obtained from url http://oss.software.ibm.com/developer/opensource/license-cpl.html */ +#define _XOPEN_SOURCE 700 + #include "../../../config.h" #include "iterm/unix/ttyio.h" @@ -18,9 +20,7 @@ #include #include #include -#define __USE_XOPEN #include -#undef __USE_XOPEN #include #include