mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 18:08:23 +00:00
Only include stdarg.h if we need it.
This commit is contained in:
parent
aaefdd7575
commit
10198ef6f3
@ -23,7 +23,10 @@
|
||||
#define SUDO_COMPAT_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#if !defined(HAVE_VSNPRINTF) || !defined(HAVE_VASPRINTF) || \
|
||||
!defined(HAVE_VSYSLOG) || defined(PREFER_PORTABLE_SNPRINTF)
|
||||
# include <stdarg.h>
|
||||
#endif
|
||||
#if !defined(HAVE_MEMSET_S) && !defined(rsize_t)
|
||||
# include <stddef.h> /* for rsize_t */
|
||||
# ifdef HAVE_STRING_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user