$NetBSD: patch-ab,v 1.11 2009/07/09 10:42:29 tron Exp $

--- src/torrent/poll_kqueue.cc.orig	2008-10-28 03:48:48.000000000 +0000
+++ src/torrent/poll_kqueue.cc	2009-07-09 11:27:45.000000000 +0100
@@ -54,6 +54,8 @@
 #include <sys/time.h>
 #endif
 
+#include <cassert>
+
 namespace torrent {
 
 #ifdef USE_KQUEUE
