diff options
Diffstat (limited to 'contrib/tcsh/sh.h')
-rw-r--r-- | contrib/tcsh/sh.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/tcsh/sh.h b/contrib/tcsh/sh.h index 55ed4cc..0e2c6fa 100644 --- a/contrib/tcsh/sh.h +++ b/contrib/tcsh/sh.h @@ -1,4 +1,4 @@ -/* $Header: /src/pub/tcsh/sh.h,v 3.93 2000/11/19 20:50:43 christos Exp $ */ +/* $Header: /src/pub/tcsh/sh.h,v 3.96 2001/03/18 19:06:29 christos Exp $ */ /* * sh.h: Catch it all globals and includes file! */ @@ -189,12 +189,12 @@ typedef int sigret_t; # endif /* __EMX__ || WINNT_NATIVE */ #endif /* !PATHSEP */ -#ifdef __HP_CXD_SPP +#if defined(__HP_CXD_SPP) && !defined(__hpux) # include <sys/cnx_stat.h> # define stat stat64 # define fstat fstat64 # define lstat lstat64 -#endif /* __HP_CXD_SPP */ +#endif /* __HP_CXD_SPP && !__hpux */ /* * This macro compares the st_dev field of struct stat. On aix on ibmESA @@ -297,7 +297,7 @@ typedef int sigret_t; # include <limits.h> #endif /* POSIX && !WINNT_NATIVE */ -#if SYSVREL > 0 || defined(_IBMR2) || defined(_MINIX) +#if SYSVREL > 0 || defined(_IBMR2) || defined(_MINIX) || defined(linux) # if !defined(pyr) && !defined(stellar) # include <time.h> # ifdef _MINIX @@ -544,7 +544,7 @@ extern void DebugFree __P((ptr_t, char *, int)); # if defined(SCO) && (SYSVREL > 3) # include <sys/socket.h> # else -# define MAXHOSTNAMELEN 255 +# define MAXHOSTNAMELEN 256 # endif #endif /* MAXHOSTNAMELEN */ |