diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_cursesmodule.c | 2 | ||||
-rw-r--r-- | Modules/_hotshot.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 65f60f0..aab24cf 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -124,7 +124,7 @@ extern int setupterm(char *,int,int *); #include <term.h> #endif -#if !defined(HAVE_NCURSES_H) && (defined(sgi) || defined(__sun)) +#if !defined(HAVE_NCURSES_H) && (defined(sgi) || defined(__sun) || defined(SCO5)) #define STRICT_SYSV_CURSES /* Don't use ncurses extensions */ typedef chtype attr_t; /* No attr_t type is available */ #endif diff --git a/Modules/_hotshot.c b/Modules/_hotshot.c index 1908a2d..37879b9 100644 --- a/Modules/_hotshot.c +++ b/Modules/_hotshot.c @@ -64,6 +64,8 @@ typedef struct timeval hs_time; #ifndef PATH_MAX # ifdef MAX_PATH # define PATH_MAX MAX_PATH +# elif defined (_POSIX_PATH_MAX) +# define PATH_MAX _POSIX_PATH_MAX # else # error "Need a defn. for PATH_MAX in _hotshot.c" # endif |