free AC_HEADER_STAT

This commit is contained in:
tg
2004-05-24 17:25:43 +00:00
parent 165d1927be
commit aff9c430e6
2 changed files with 8 additions and 46 deletions

View File

@ -1,4 +1,5 @@
/* $OpenBSD: ksh_stat.h,v 1.3 1996/10/01 02:05:39 downsj Exp $ */
/* $MirBSD: ksh_stat.h,v 1.2 2004/05/24 17:25:43 tg Exp $ */
/* $OpenBSD: ksh_stat.h,v 1.3 1996/10/01 02:05:39 downsj Exp $ */
/* Wrapper around the ugly sys/stat includes/ifdefs */
@ -9,6 +10,12 @@
# define lstat(path, buf) stat(path, buf)
#endif /* HAVE_LSTAT */
#if defined(S_ISSOCK) && defined(S_IFIFO)
# if S_ISSOCK (S_IFIFO)
# define STAT_MACROS_BROKEN
# endif
#endif
#ifdef STAT_MACROS_BROKEN
# undef S_ISREG
# undef S_ISDIR