diff options
author | Tycho Andersen <tycho@docker.com> | 2017-06-26 10:10:29 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-06-30 21:58:28 +0000 |
commit | 423d985345f88d243304e6b10190c4945cd4a2a9 (patch) | |
tree | 84f7ae38ffb960cf0d342f94c4f778b759be0eaf /main/audit/0001-auditctl-include-headers-to-make-build-work-with-mus.patch | |
parent | d9a08c9eb9b5086206823954c5bfef5f12ec0a4b (diff) | |
download | aports-423d985345f88d243304e6b10190c4945cd4a2a9.tar.bz2 aports-423d985345f88d243304e6b10190c4945cd4a2a9.tar.xz |
testing/audit: promote to main
Signed-off-by: Tycho Andersen <tycho@docker.com>
Diffstat (limited to 'main/audit/0001-auditctl-include-headers-to-make-build-work-with-mus.patch')
-rw-r--r-- | main/audit/0001-auditctl-include-headers-to-make-build-work-with-mus.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/main/audit/0001-auditctl-include-headers-to-make-build-work-with-mus.patch b/main/audit/0001-auditctl-include-headers-to-make-build-work-with-mus.patch new file mode 100644 index 0000000000..94614afce4 --- /dev/null +++ b/main/audit/0001-auditctl-include-headers-to-make-build-work-with-mus.patch @@ -0,0 +1,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 + |