diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-15 19:00:54 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-15 19:00:54 +0100 |
commit | afd8e219837dd32fd9eab0109e5a3db885b02e4b (patch) | |
tree | c1b3bb2e3c322bab57f18a0e4c36f0111d397e52 /package/tcsh/patches/patch-sh_h | |
parent | 3dc0311e44bddaeaca33b628eedb0ad2007ec27b (diff) |
fix compile on NetBSD
Diffstat (limited to 'package/tcsh/patches/patch-sh_h')
-rw-r--r-- | package/tcsh/patches/patch-sh_h | 14 |
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 */ |