diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2010-05-06 12:46:47 -0700 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2010-05-06 12:46:47 -0700 |
commit | 2882364886562e5786f1b636c7660c1caaf6ba86 (patch) | |
tree | 0796acf41a3c8243ccdc0a792e402e3571049bf0 /src/systty.h | |
parent | aca004303d7fe01ebe33b902b3dd45e21552175f (diff) | |
download | emacs-2882364886562e5786f1b636c7660c1caaf6ba86.tar.gz |
Remove NEED_BSDTTY and NEED_UNISTD_H.
* s/hpux10-20.h (NEED_BSDTTY): Remove.
* s/aix4-2.h (NEED_UNISTD_H): Remove.
* systty.h: Simplify conditionals for including <sys/bsdtty.h>,
<sys/ptyio.h> and <unistd.h>.
Diffstat (limited to 'src/systty.h')
-rw-r--r-- | src/systty.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/systty.h b/src/systty.h index 057f58f6064..fcc6cf81e51 100644 --- a/src/systty.h +++ b/src/systty.h @@ -51,11 +51,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #include <termios.h> #endif -#ifdef NEED_BSDTTY +#ifdef HPUX #include <sys/bsdtty.h> -#endif - -#if defined (HPUX) && defined (HAVE_PTYS) #include <sys/ptyio.h> #endif @@ -63,7 +60,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #include <sys/pty.h> #endif /* AIX */ -#if (defined (POSIX) || defined (NEED_UNISTD_H)) && defined (HAVE_UNISTD_H) +#ifdef HAVE_UNISTD_H #include <unistd.h> #endif |