--- rxvt-unicode/src/ev_cpp.h 2007/11/18 02:41:02 1.3 +++ rxvt-unicode/src/ev_cpp.h 2007/11/22 05:40:31 1.4 @@ -1,4 +1,11 @@ #define EV_USE_POLL 0 #define EV_MULTIPLICITY 0 #define EV_PERIODICS 0 + +#ifndef __NetBSD__ +// disable kqueue on anything but netbsd, as its broken +// on freebsd, openbsd and darwin +# define EV_USE_KQUEUE 0 +#endif + #include "ev++.h"