698cd1
diff -up ./plugins/sudoers/audit.c.undefined ./plugins/sudoers/audit.c
698cd1
--- ./plugins/sudoers/audit.c.undefined	2021-07-12 14:59:53.472306208 +0200
698cd1
+++ ./plugins/sudoers/audit.c	2021-07-12 15:00:45.620620369 +0200
698cd1
@@ -197,7 +197,6 @@ sudoers_audit_open(unsigned int version,
698cd1
     debug_return_int(ret);
698cd1
 }
698cd1
 
698cd1
-#ifdef SUDOERS_LOG_CLIENT
698cd1
 static void
698cd1
 audit_to_eventlog(struct eventlog *evlog, char * const command_info[],
698cd1
     char * const run_argv[], char * const run_envp[])
698cd1
@@ -244,6 +243,7 @@ audit_to_eventlog(struct eventlog *evlog
698cd1
     debug_return;
698cd1
 }
698cd1
 
698cd1
+#ifdef SUDOERS_LOG_CLIENT
698cd1
 static bool
698cd1
 log_server_accept(char * const command_info[], char * const run_argv[],
698cd1
     char * const run_envp[])