blob: cacaa49894a14574f7e9b772e12709b54cffeef3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
https://github.com/linux-audit/audit-userspace/commit/b6e0c6eb88a4d866bc8316706277dbc33670022a
Since musl 1.2.5, basename(3) is strict-POSIX compliant, and
needs #include <libgen.h>, instead of the GNU version included
with <string.h>
--- a/audisp/plugins/zos-remote/zos-remote-config.c
+++ b/audisp/plugins/zos-remote/zos-remote-config.c
@@ -32,6 +32,7 @@
#include <ctype.h>
#include <unistd.h>
#include <stdlib.h>
+#include <libgen.h>
#include "zos-remote-log.h"
/* Local prototypes */
|