summaryrefslogtreecommitdiff
path: root/package/tcsh/patches/patch-sh_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/tcsh/patches/patch-sh_h')
-rw-r--r--package/tcsh/patches/patch-sh_h14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/tcsh/patches/patch-sh_h b/package/tcsh/patches/patch-sh_h
new file mode 100644
index 000000000..b638e850f
--- /dev/null
+++ b/package/tcsh/patches/patch-sh_h
@@ -0,0 +1,14 @@
+--- tcsh-6.17.00.orig/sh.h 2009-06-25 23:27:37.000000000 +0200
++++ tcsh-6.17.00/sh.h 2010-02-15 18:45:11.000000000 +0100
+@@ -375,9 +375,11 @@ static inline void ignore(intptr_t a)
+ #include <pwd.h>
+ #include <grp.h>
+ #endif /* WINNT_NATIVE */
++#if !defined(BSD)
+ #ifdef HAVE_SHADOW_H
+ # include <shadow.h>
+ #endif /* HAVE_SHADOW_H */
++#endif
+ #ifdef HAVE_AUTH_H
+ # include <auth.h>
+ #endif /* HAVE_AUTH_H */