mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Add target for "make splint". A few files need extra guards to avoid
errors on systems where they would not otherwise be compiled. No warnings from splint.
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#ifdef HAVE_BSM_AUDIT
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <bsm/audit.h>
|
||||
@@ -260,3 +262,5 @@ bsm_audit_failure(char *exec_args[], char const *const fmt, va_list ap)
|
||||
}
|
||||
debug_return_int(0);
|
||||
}
|
||||
|
||||
#endif /* HAVE_BSM_AUDIT */
|
||||
|
Reference in New Issue
Block a user