--- rxvt-unicode/src/ev_cpp.h 2007/11/12 01:10:19 1.2 +++ rxvt-unicode/src/ev_cpp.h 2007/11/22 05:40:31 1.4 @@ -1,3 +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"