*** Modules/termios.c.orig 2011-07-15 11:03:22.015923498 -0400 --- Modules/termios.c 2011-07-15 11:14:12.853922926 -0400 *************** *** 1,5 **** --- 1,11 ---- /* termiosmodule.c -- POSIX terminal I/O module implementation. */ + #ifdef __hpux + /* Workaround HP/UX namespace kludges */ + #define _POSIX_SOURCE + #include + #endif + #include "Python.h" /* Apparently, on SGI, termios.h won't define CTRL if _XOPEN_SOURCE