$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>
