aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/daemon.c b/daemon.c
index 56de2deb..087f051f 100644
--- a/daemon.c
+++ b/daemon.c
@@ -31,6 +31,10 @@
# include <unistd.h>
#endif
+/* BSD portability hack */
+#if !defined(SIGCLD) && defined(SIGCHLD)
+#define SIGCLD SIGCHLD
+#endif
#include "popclient.h"