mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-09 18:01:50 +01:00
13 lines
225 B
Diff
13 lines
225 B
Diff
--- a/lib/libaudit.c
|
|
+++ b/lib/libaudit.c
|
|
@@ -57,6 +57,9 @@
|
|
#define IORING_OP_LAST 37
|
|
#endif
|
|
|
|
+#define basename(path) \
|
|
+ (strrchr((path),'/') ? strrchr((path),'/')+1 : (path))
|
|
+
|
|
/* Local prototypes */
|
|
struct nv_pair
|
|
{
|