diff options
Diffstat (limited to 'readline/sysdep-cxux7.h')
-rw-r--r-- | readline/sysdep-cxux7.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/readline/sysdep-cxux7.h b/readline/sysdep-cxux7.h new file mode 100644 index 0000000..eba3644 --- /dev/null +++ b/readline/sysdep-cxux7.h @@ -0,0 +1,18 @@ +/* System-dependent stuff, for Harris CX/UX systems */ + +#ifndef alloca /* May be a macro, with args. */ +extern char *alloca (); +#endif + +#include <sys/types.h> /* Needed by dirent.h */ +#include <sys/stream.h> +#include <dirent.h> +typedef struct dirent dirent; + +/* SVR4 systems should use <termios.h> rather than <termio.h>. */ +#define _POSIX_VERSION + +/* SVR4 systems need _POSIX_SOURCE defined to suppress 'struct winsize' + definition in <termios.h>, since it's unconditionally defined in + <sys/ptem.h>. */ +#define _POSIX_SOURCE |