1
0

patch-sh_h 860 B

1234567891011121314151617181920212223
  1. --- tcsh-6.18.01.orig/sh.h 2011-04-14 20:25:25.000000000 +0200
  2. +++ tcsh-6.18.01/sh.h 2013-12-25 17:12:55.000000000 +0100
  3. @@ -361,7 +361,7 @@ typedef long tcsh_number_t;
  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. @@ -395,9 +395,11 @@ typedef long tcsh_number_t;
  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 */