From 46b6fdbd1166730455bff6b74718bbee8793c9c6 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Fri, 9 Aug 1996 16:02:46 +0000 Subject: * 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. --- readline/sysdep-norm.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'readline/sysdep-norm.h') 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 typedef struct dirent dirent; +#endif /* SVR4 systems should use rather than . */ #if defined (USGr4) #define _POSIX_VERSION #endif + +#ifdef _WIN32 +#include +#endif -- cgit v1.1