diff options
author | Stu Grossman <grossman@cygnus> | 1996-08-09 16:02:46 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1996-08-09 16:02:46 +0000 |
commit | 46b6fdbd1166730455bff6b74718bbee8793c9c6 (patch) | |
tree | 1d20c683c7b550a236dad66887b0713ea70b6886 /readline/sysdep-norm.h | |
parent | bb1847ca10ff3e798e0f31f3c78d769de101b2eb (diff) | |
download | gdb-46b6fdbd1166730455bff6b74718bbee8793c9c6.zip gdb-46b6fdbd1166730455bff6b74718bbee8793c9c6.tar.gz gdb-46b6fdbd1166730455bff6b74718bbee8793c9c6.tar.bz2 |
* bind.c complete.c history.c readline.c: Don't include sys/file.h.
* complete.c display.c parens.c readline.c rldefs.h rltty.c
signals.c tilde.c: Change refs to _MSC_VER and __WIN32__ to _WIN32.
* signals.c (rl_signal_handler): Ifdef out kill if _WIN32.
* sysdep-norm.h: Ifdef out include of dirent.h if _WIN32.
Include malloc.h if _WIN32.
Diffstat (limited to 'readline/sysdep-norm.h')
-rw-r--r-- | readline/sysdep-norm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h index cb89f43..d074cff 100644 --- a/readline/sysdep-norm.h +++ b/readline/sysdep-norm.h @@ -26,11 +26,17 @@ extern char *alloca (); #endif /* USGr4 */ #endif /* USG && TIOCGWINSZ */ +#ifndef _WIN32 #include <dirent.h> typedef struct dirent dirent; +#endif /* SVR4 systems should use <termios.h> rather than <termio.h>. */ #if defined (USGr4) #define _POSIX_VERSION #endif + +#ifdef _WIN32 +#include <malloc.h> +#endif |