|
@ -122,7 +122,6 @@ |
|
|
* sigaction and fileno included. -pedantic would be more appropriate for |
|
|
* sigaction and fileno included. -pedantic would be more appropriate for |
|
|
* the intended purposes, but we can't prevent users from adding -ansi. |
|
|
* the intended purposes, but we can't prevent users from adding -ansi. |
|
|
*/ |
|
|
*/ |
|
|
#define _POSIX_C_SOURCE 1 |
|
|
|
|
|
#include <signal.h> |
|
|
#include <signal.h> |
|
|
#include <stdio.h> |
|
|
#include <stdio.h> |
|
|
#include <string.h> |
|
|
#include <string.h> |
|
@ -176,6 +175,12 @@ |
|
|
* TERMIO, TERMIOS, VMS, MSDOS and SGTTY |
|
|
* TERMIO, TERMIOS, VMS, MSDOS and SGTTY |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#if defined(__sun) && !defined(TERMIOS) |
|
|
|
|
|
# define TERMIOS |
|
|
|
|
|
# undef TERMIO |
|
|
|
|
|
# undef SGTTY |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#if defined(__sgi) && !defined(TERMIOS) |
|
|
#if defined(__sgi) && !defined(TERMIOS) |
|
|
# define TERMIOS |
|
|
# define TERMIOS |
|
|
# undef TERMIO |
|
|
# undef TERMIO |
|
|