Require POSIX termios to build sudo

This commit is contained in:
Todd C. Miller
2010-06-09 11:09:55 -04:00
parent 82a56e421f
commit e5283b2f96
8 changed files with 9 additions and 69 deletions

View File

@@ -21,11 +21,6 @@
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/wait.h>
#ifdef HAVE_TERMIOS_H
# include <termios.h>
#else
# include <termio.h>
#endif /* HAVE_TERMIOS_H */
#include <sys/ioctl.h>
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
@@ -58,6 +53,7 @@
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <termios.h>
/* XXX - move to compat.h */
#if !defined(NSIG)