diff options
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 |