--- ./lib/tevent/tevent_signal.c.orig	2010-04-01 15:26:22.000000000 +0200
+++ ./lib/tevent/tevent_signal.c	2010-04-23 01:08:35.000000000 +0200
@@ -30,7 +30,7 @@
 #include "tevent_internal.h"
 #include "tevent_util.h"
 
-#define TEVENT_NUM_SIGNALS 64
+#define TEVENT_NUM_SIGNALS (SIGRTMAX+1)
 
 /* maximum number of SA_SIGINFO signals to hold in the queue.
   NB. This *MUST* be a power of 2, in order for the ring buffer
