From 66d17e60ecb1873adcf4873953981d607784043a Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Sat, 21 Nov 2020 19:44:49 +0100
Subject: Haiku patch


diff --git a/libdaemon/dlog.c b/libdaemon/dlog.c
index 3c759f4..aa5bbd1 100644
--- a/libdaemon/dlog.c
+++ b/libdaemon/dlog.c
@@ -29,6 +29,10 @@
 
 #include "dlog.h"
 
+#ifdef __HAIKU__
+#define LOG_PRIMASK 0x7
+#endif
+
 enum daemon_log_flags daemon_log_use = DAEMON_LOG_AUTO|DAEMON_LOG_STDERR;
 const char* daemon_log_ident = NULL;
 
-- 
2.28.0

