add vsyslog() for systems without it.
This commit is contained in:
@@ -487,5 +487,10 @@ __dso_public void *sudo_reallocarray(void *ptr, size_t nmemb, size_t size);
|
||||
# undef reallocarray
|
||||
# define reallocarray(_a, _b, _c) sudo_reallocarray((_a), (_b), (_c))
|
||||
#endif /* HAVE_REALLOCARRAY */
|
||||
#ifndef HAVE_VSYSLOG
|
||||
__dso_public void sudo_vsyslog(int pri, const char *fmt, va_list ap);
|
||||
# undef vsyslog
|
||||
# define vsyslog(_a, _b, _c) sudo_vsyslog((_a), (_b), (_c))
|
||||
#endif /* HAVE_VSYSLOG */
|
||||
|
||||
#endif /* SUDO_COMPAT_H */
|
||||
|
Reference in New Issue
Block a user