mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-09 02:34:21 +02:00
15 lines
422 B
Diff
15 lines
422 B
Diff
diff --git a/src/findlib/fstype.c b/src/findlib/fstype.c
|
|
index ab3b206..21f5754 100644
|
|
--- a/src/findlib/fstype.c
|
|
+++ b/src/findlib/fstype.c
|
|
@@ -46,6 +46,10 @@
|
|
|
|
#define is_rootfs(x) bstrcmp("rootfs", x)
|
|
|
|
+#ifndef _PATH_MOUNTED
|
|
+#define _PATH_MOUNTED "/proc/mounts"
|
|
+#endif /* _PATH_MOUNTED */
|
|
+
|
|
#if defined(HAVE_GETMNTINFO) || defined(HAVE_GETMNTENT)
|
|
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
|
|
#endif
|