summaryrefslogtreecommitdiff
path: root/shells/zsh/patches/patch-ac
blob: d6cc81f19fe82e33a3340111c7c4290442a79030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>