$NetBSD: patch-ac,v 1.4 2001/07/16 22:06:03 martin Exp $

--- configure.orig	Sun Mar 26 09:47:39 2000
+++ configure	Tue Jul 17 00:01:45 2001
@@ -4163,6 +4163,7 @@
   cat > conftest.$ac_ext <<EOF
 #line 4165 "configure"
 #include "confdefs.h"
+#include <sys/types.h>
 #include <stdio.h>
 #include <utmp.h>
 #include <errno.h>
@@ -5047,7 +5048,7 @@
 EOF
 
 fi
-if test x$support_mousewheel = xyes; then
+if test x$support_mousewheel = xno; then
   cat >> confdefs.h <<\EOF
 #define NO_MOUSE_WHEEL 1
 EOF
