SIGRTMIN additions
authorTimur I. Bakeyev <timur@com.bat.ru>
Sun, 7 Jun 2009 15:46:07 +0000 (15:46 +0000)
committerStefan Metzmacher <metze@samba.org>
Mon, 8 Jun 2009 11:20:53 +0000 (13:20 +0200)
In addition to [FreeBSD 14] there is another place, where we (re)define
SIGRTMIN - in SMB_IF_RTSIGNAL_BUG macro in /source3/m4/aclocal.m4.

Here is another small patch.

With regards,
Timur Bakeyev.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/m4/aclocal.m4

index c79205708339cd78dbfee3a14f2b26703839df4c..dedf6fbf50b4ce521d88bae42d29dd37dcc23aa7 100644 (file)
@@ -828,6 +828,9 @@ AC_DEFUN([SMB_IF_RTSIGNAL_BUG],
 #include <fcntl.h>
 #include <signal.h>
 
+#ifndef SIGRTMIN
+#define SIGRTMIN NSIG
+#endif
 /* from smbd/notify_kernel.c */
 #ifndef RT_SIGNAL_NOTIFY
 #define RT_SIGNAL_NOTIFY (SIGRTMIN+2)