blob: 94614afce48cd74d28844561ef40b80fa698d0b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
From 49ed6ac0e07bc30231ce53ca5a5e150fccd4d860 Mon Sep 17 00:00:00 2001
From: Tycho Andersen <tycho@docker.com>
Date: Mon, 13 Mar 2017 22:44:19 +0000
Subject: [PATCH 1/4] auditctl: include headers to make build work with musl
technically select is defined in sys/select.h, and `struct timeval`
requires sys/time.h
Signed-off-by: Tycho Andersen <tycho@docker.com>
---
src/auditctl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/auditctl.c b/src/auditctl.c
index 04765f4..07701f9 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.13.1
|