[PATCH 1/3] auditctl: include headers to make build work with musl

Tycho Andersen tycho at docker.com
Tue Mar 14 00:14:32 UTC 2017


technically select is defined in sys/select.h, and `struct timeval`
requires sys/time.h

Signed-off-by: Tycho Andersen <tycho at docker.com>
---
 src/auditctl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/auditctl.c b/src/auditctl.c
index e112b16..11d2dc7 100644
--- a/src/auditctl.c
+++ b/src/auditctl.c
@@ -32,6 +32,8 @@
 #include <ctype.h>
 #include <unistd.h>
 #include <sys/utsname.h>
+#include <sys/select.h>
+#include <sys/time.h>
 #include <fcntl.h>
 #include <errno.h>
 #include <libgen.h>	/* For basename */
-- 
2.9.3




More information about the Linux-audit mailing list