mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
16 lines
580 B
Diff
16 lines
580 B
Diff
Include libgen.h for the basename(3) function prototype.
|
|
|
|
See https://gitlab.alpinelinux.org/alpine/aports/-/issues/16106
|
|
|
|
diff -upr btrfs-progs-v6.8.1.orig/common/device-utils.c btrfs-progs-v6.8.1/common/device-utils.c
|
|
--- btrfs-progs-v6.8.1.orig/common/device-utils.c 2024-05-12 12:31:38.711451023 +0200
|
|
+++ btrfs-progs-v6.8.1/common/device-utils.c 2024-05-12 12:31:51.201469868 +0200
|
|
@@ -30,6 +30,7 @@
|
|
#include <fcntl.h>
|
|
#include <dirent.h>
|
|
#include <errno.h>
|
|
+#include <libgen.h>
|
|
#include <blkid/blkid.h>
|
|
#include "kernel-lib/sizes.h"
|
|
#include "kernel-shared/disk-io.h"
|