summaryrefslogtreecommitdiff
path: root/include/syslog.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/syslog.h')
-rw-r--r--include/syslog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/syslog.h b/include/syslog.h
index e0d86c0d..278945f9 100644
--- a/include/syslog.h
+++ b/include/syslog.h
@@ -59,7 +59,8 @@ void openlog (const char *, int, int);
int setlogmask (int);
void syslog (int, const char *, ...);
-#if defined(_GNU_SOURCE)
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
+#define _PATH_LOG "/dev/log"
#define __NEED_va_list
#include <bits/alltypes.h>
void vsyslog (int, const char *, va_list);