summaryrefslogtreecommitdiff
path: root/shells/zsh/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'shells/zsh/patches/patch-ac')
-rw-r--r--shells/zsh/patches/patch-ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/shells/zsh/patches/patch-ac b/shells/zsh/patches/patch-ac
new file mode 100644
index 00000000000..d6cc81f19fe
--- /dev/null
+++ b/shells/zsh/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.7 2002/03/04 20:27:45 tron Exp $
+
+--- Src/watch.c.orig Tue Jan 16 14:44:20 2001
++++ Src/watch.c Mon Mar 4 21:22:10 2002
+@@ -29,6 +29,11 @@
+
+ #include "zsh.mdh"
+
++#if defined(__NetBSD__) && defined(HAVE_UTMPX_H)
++# undef HAVE_UTMPX_H
++# undef HAVE_STRUCT_UTMPX
++#endif
++
+ /* Headers for utmp/utmpx structures */
+ #ifdef HAVE_UTMP_H
+ # include <utmp.h>