X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsyslog.h;h=278945f9e02080f444ae3b229e7865cf4f5fe475;hb=de05a2ac22d33bd7631f182143ecea6dd01d9406;hp=e0d86c0d33466b7f08714290df6155d68cb77dbd;hpb=c3dbe9b22c93c187d806f5def44da5b47744923c;p=musl 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 void vsyslog (int, const char *, va_list);