comparison src/systty.h @ 108273:de8de918fbab

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>.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 06 May 2010 12:46:47 -0700
parents 1d1d5d9bd884
children 734073f5d073
comparison
equal deleted inserted replaced
108272:87980e1e3597 108273:de8de918fbab
49 #ifdef __GNU_LIBRARY__ 49 #ifdef __GNU_LIBRARY__
50 #include <sys/ioctl.h> 50 #include <sys/ioctl.h>
51 #include <termios.h> 51 #include <termios.h>
52 #endif 52 #endif
53 53
54 #ifdef NEED_BSDTTY 54 #ifdef HPUX
55 #include <sys/bsdtty.h> 55 #include <sys/bsdtty.h>
56 #endif
57
58 #if defined (HPUX) && defined (HAVE_PTYS)
59 #include <sys/ptyio.h> 56 #include <sys/ptyio.h>
60 #endif 57 #endif
61 58
62 #ifdef AIX 59 #ifdef AIX
63 #include <sys/pty.h> 60 #include <sys/pty.h>
64 #endif /* AIX */ 61 #endif /* AIX */
65 62
66 #if (defined (POSIX) || defined (NEED_UNISTD_H)) && defined (HAVE_UNISTD_H) 63 #ifdef HAVE_UNISTD_H
67 #include <unistd.h> 64 #include <unistd.h>
68 #endif 65 #endif
69 66
70 67
71 /* Special cases - inhibiting the use of certain features. */ 68 /* Special cases - inhibiting the use of certain features. */