--- rxvt-unicode/src/ev_cpp.h 2007/11/11 16:28:46 1.1 +++ rxvt-unicode/src/ev_cpp.h 2007/11/22 05:40:31 1.4 @@ -1,5 +1,11 @@ +#define EV_USE_POLL 0 #define EV_MULTIPLICITY 0 #define EV_PERIODICS 0 -#define EV_USE_SELECT 0 -#define EV_USE_POLL 1 + +#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"