darling-gdb/readline/sysdep-norm.h

29 lines
601 B
C
Raw Normal View History

1991-11-09 11:24:32 +00:00
/* 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 ();
1991-11-09 11:24:32 +00:00
#endif
1991-11-21 22:50:49 +00:00
#include <sys/types.h> /* Needed by dirent.h */
1991-11-21 22:50:49 +00:00
#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