Only include log_client.h if SUDOERS_LOG_CLIENT is defined.

This commit is contained in:
Todd C. Miller
2021-10-21 19:46:35 -06:00
parent cf47187eb5
commit 00f0c233b2
6 changed files with 27 additions and 18 deletions

View File

@@ -30,7 +30,9 @@
#include <string.h>
#include "sudoers.h"
#include "log_client.h"
#ifdef SUDOERS_LOG_CLIENT
# include "log_client.h"
#endif
#ifdef HAVE_BSM_AUDIT
# include "bsm_audit.h"