diff options
-rw-r--r-- | src/sysdep.c | 7 | ||||
-rw-r--r-- | src/terminfo.c | 13 |
2 files changed, 2 insertions, 18 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 189fe583ed..5baf95c92b 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -220,12 +220,7 @@ static int baud_convert[] = }; #endif -#ifdef HAVE_TERMIOS -# include <termios.h> - extern speed_t ospeed; -#else - extern short ospeed; -#endif +extern short ospeed; /* The file descriptor for Emacs's input terminal. Under Unix, this is normally zero except when using X; diff --git a/src/terminfo.c b/src/terminfo.c index 5f2d5e0095..8ce87960f0 100644 --- a/src/terminfo.c +++ b/src/terminfo.c @@ -22,19 +22,8 @@ Boston, MA 02111-1307, USA. */ so that we do not need to conditionalize the places in Emacs that set them. */ -#include <config.h> - -#ifdef USG -# include <string.h> -#endif - char *UP, *BC, PC; -#ifdef HAVE_TERMIOS -# include <termios.h> - speed_t ospeed; -#else - short ospeed; -#endif +short ospeed; static buffer[512]; |