X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fsyslog.h;h=278945f9e02080f444ae3b229e7865cf4f5fe475;hp=e0d86c0d33466b7f08714290df6155d68cb77dbd;hb=419ae6d5c95629d3ebaff6f1880d52cb027ba924;hpb=7b5467cbae266d9cf91404a13c9b6b6e1d9b8204 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);