home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / gdb-4.12.tar.gz / gdb-4.12.tar / gdb-4.12 / readline / sysdep-sysv4.h < prev    next >
C/C++ Source or Header  |  1994-02-03  |  675b  |  27 lines

  1. /* System-dependent stuff, for SVR4 systems */
  2.  
  3. #ifdef __GNUC__
  4. #define alloca __builtin_alloca
  5. #else
  6. #if defined (sparc) && defined (sun)
  7. #include <alloca.h>
  8. #endif
  9. #ifndef alloca                /* May be a macro, with args. */
  10. extern char *alloca ();
  11. #endif
  12. #endif
  13.  
  14. #include <sys/types.h>            /* Needed by dirent.h */
  15. #include <sys/stream.h>
  16. #include <sys/ptem.h>
  17. #include <dirent.h>
  18. typedef struct dirent dirent;
  19.  
  20. /* SVR4 systems should use <termios.h> rather than <termio.h>. */
  21. #define _POSIX_VERSION
  22.  
  23. /* SVR4 systems need _POSIX_SOURCE defined to suppress 'struct winsize'
  24.    definition in <termios.h>, since it's unconditionally defined in
  25.    <sys/ptem.h>. */
  26. #define _POSIX_SOURCE
  27.