$NetBSD: patch-az,v 1.2 2012/04/13 18:47:31 adam Exp $ --- Modules/selectmodule.c.orig Mon Jul 25 08:09:14 2011 +++ Modules/selectmodule.c @@ -1855,7 +1855,9 @@ initselect(void) PyModule_AddIntConstant(m, "KQ_FILTER_NETDEV", EVFILT_NETDEV); #endif PyModule_AddIntConstant(m, "KQ_FILTER_SIGNAL", EVFILT_SIGNAL); +#ifdef EVFILT_TIMER PyModule_AddIntConstant(m, "KQ_FILTER_TIMER", EVFILT_TIMER); +#endif /* event flags */ PyModule_AddIntConstant(m, "KQ_EV_ADD", EV_ADD);