2024-06-02 12:15:48

by Henrik Lindström

[permalink] [raw]
Subject: [PATCH] Fix implicit my_llseek declaration error when targeting musl libc

Signed-off-by: Henrik Lindström <[email protected]>
---
lib/blkid/llseek.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/blkid/llseek.c b/lib/blkid/llseek.c
index 59298646..edb64320 100644
--- a/lib/blkid/llseek.c
+++ b/lib/blkid/llseek.c
@@ -52,7 +52,7 @@ extern long long llseek(int fd, long long offset, int origin);

#if SIZEOF_LONG == SIZEOF_LONG_LONG

-#define llseek lseek
+#define my_llseek lseek

#else /* SIZEOF_LONG != SIZEOF_LONG_LONG */

--
2.39.2