X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fsyslog.h;h=c0fde1125b053e2ea30bc6bd70c9ecbeedf6c5bd;hp=e0d86c0d33466b7f08714290df6155d68cb77dbd;hb=c8ea985748a6857ac5db9ef50f9c92e2966c04d5;hpb=c3dbe9b22c93c187d806f5def44da5b47744923c diff --git a/include/syslog.h b/include/syslog.h index e0d86c0d..c0fde112 100644 --- a/include/syslog.h +++ b/include/syslog.h @@ -1,5 +1,5 @@ -#ifndef _SYS_SYSLOG_H -#define _SYS_SYSLOG_H +#ifndef _SYSLOG_H +#define _SYSLOG_H #ifdef __cplusplus extern "C" { @@ -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);