5bb14552fd
when both VLNEXT and TERMIOS_TTY_DRIVER is defined. On SVR4 <termio.h> includes <termios.h>, so VLNEXT is always defined. * sysdep-norm.h (_POSIX_VERSION): Define this for all SVR4 systems so that <termios.h> gets used, instead of <termio.h>.
28 lines
601 B
C
28 lines
601 B
C
/* System-dependent stuff, for ``normal'' systems */
|
|
|
|
#ifdef __GNUC__
|
|
#define alloca __builtin_alloca
|
|
#else
|
|
#if defined (sparc) && defined (sun)
|
|
#include <alloca.h>
|
|
#endif
|
|
extern char *alloca ();
|
|
#endif
|
|
|
|
#include <sys/types.h> /* Needed by dirent.h */
|
|
|
|
#if defined (USG) && defined (TIOCGWINSZ)
|
|
#include <sys/stream.h>
|
|
#if defined (USGr4) || defined (USGr3)
|
|
#include <sys/ptem.h>
|
|
#endif /* USGr4 */
|
|
#endif /* USG && TIOCGWINSZ */
|
|
|
|
#include <dirent.h>
|
|
typedef struct dirent dirent;
|
|
|
|
/* SVR4 systems should use <termios.h> rather than <termio.h>. */
|
|
|
|
#if defined (USGr4)
|
|
#define _POSIX_VERSION
|
|
#endif
|