summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/includes.h2
-rw-r--r--source3/smbd/aio.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 3ce63bb7a1..b7ba70325c 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -795,7 +795,7 @@ enum flush_reason_enum {
#endif
#ifndef SIGRTMIN
-#define SIGRTMIN 32
+#define SIGRTMIN NSIG
#endif
#ifndef MAP_FILE
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index a5eea0a32e..c6f700f17a 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -25,9 +25,6 @@
/* The signal we'll use to signify aio done. */
#ifndef RT_SIGNAL_AIO
-#ifndef SIGRTMIN
-#define SIGRTMIN NSIG
-#endif
#define RT_SIGNAL_AIO (SIGRTMIN+3)
#endif