$NetBSD: patch-ad,v 1.1.1.1 2004/07/19 20:09:15 drochner Exp $

--- lib/diagnostics.h.orig	2004-07-15 23:08:14.000000000 +0200
+++ lib/diagnostics.h
@@ -83,6 +83,7 @@ extern void boinc_set_signal_handler_for
 #define BOINCSIGNALERROR( errmsg ) \
     throw boinc_signal_operation_exception( __FILE__, __LINE__, errmsg )
 
+#include <assert.h>
 
 #ifndef BOINCASSERT
 #define BOINCASSERT			assert
