patch-sh_h 880 B

1234567891011121314151617181920212223
  1. --- tcsh-6.17.00.orig/sh.h 2009-06-25 23:27:37.000000000 +0200
  2. +++ tcsh-6.17.00/sh.h 2010-07-31 19:48:01.000000000 +0200
  3. @@ -338,7 +338,7 @@ static inline void ignore(intptr_t a)
  4. # include <sys/filio.h>
  5. #endif /* (!FIOCLEX && SUNOS4) || (SYSVREL == 4 && !_SEQUENT_ && !SCO && !_SX ) */
  6. -#if !defined(_MINIX) && !defined(supermax) && !defined(WINNT_NATIVE) && !defined(IRIS4D)
  7. +#if !defined(_MINIX) && !defined(supermax) && !defined(WINNT_NATIVE) && !defined(IRIS4D) && !defined(__FreeBSD__)
  8. # include <sys/file.h>
  9. #endif /* !_MINIX && !supermax && !WINNT_NATIVE && !defined(IRIS4D) */
  10. @@ -375,9 +375,11 @@ static inline void ignore(intptr_t a)
  11. #include <pwd.h>
  12. #include <grp.h>
  13. #endif /* WINNT_NATIVE */
  14. +#if !defined(BSD)
  15. #ifdef HAVE_SHADOW_H
  16. # include <shadow.h>
  17. #endif /* HAVE_SHADOW_H */
  18. +#endif
  19. #ifdef HAVE_AUTH_H
  20. # include <auth.h>
  21. #endif /* HAVE_AUTH_H */