diff options
Diffstat (limited to 'Modules/termios.c')
-rw-r--r-- | Modules/termios.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/termios.c b/Modules/termios.c index d7afeaec68..e2ef5d0b7a 100644 --- a/Modules/termios.c +++ b/Modules/termios.c @@ -21,6 +21,10 @@ This module should be used in conjunction with the TERMIOS module,\n\ which defines the relevant symbolic constants."; +#ifdef __BEOS__ +#include <unistd.h> +#endif + #define BAD "bad termios argument" static PyObject *TermiosError; |