summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/sh.h
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2001-09-05 17:49:32 +0000
committermp <mp@FreeBSD.org>2001-09-05 17:49:32 +0000
commit538cdbc622d96ebd9ba6fae4c5b21f8704e88d90 (patch)
tree836fb15b752f30ac10f0e8bc35125091d7a821a3 /contrib/tcsh/sh.h
parent9b07833722e76f7d023c491eaf74bf278221b55d (diff)
downloadFreeBSD-src-538cdbc622d96ebd9ba6fae4c5b21f8704e88d90.zip
FreeBSD-src-538cdbc622d96ebd9ba6fae4c5b21f8704e88d90.tar.gz
Import tcsh-6.11
Diffstat (limited to 'contrib/tcsh/sh.h')
-rw-r--r--contrib/tcsh/sh.h10
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 */
OpenPOWER on IntegriCloud