patch-sh_h 860 B

1234567891011121314151617181920212223
  1. --- tcsh-6.19.00.orig/sh.h 2015-05-10 15:29:28.000000000 +0200
  2. +++ tcsh-6.19.00/sh.h 2015-11-07 23:06:35.000000000 +0100
  3. @@ -366,7 +366,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. @@ -400,9 +400,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 */