[PATCH] Allow linking with uClibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



uClibc uses lseek64 as llseek, so use it.

Signed-off-by: Daniel Mierswa <impulze@xxxxxxxxxxx>
---
 shlibs/blkid/src/llseek.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

--
Mierswa, Daniel

If you still don't like it, that's ok: that's why I'm boss. I simply know better than you do.
               --- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22
diff --git a/shlibs/blkid/src/llseek.c b/shlibs/blkid/src/llseek.c
index 5bd0e51..75b7d24 100644
--- a/shlibs/blkid/src/llseek.c
+++ b/shlibs/blkid/src/llseek.c
@@ -30,7 +30,7 @@
 
 #ifdef __linux__
 
-#if defined(HAVE_LSEEK64) && defined(HAVE_LSEEK64_PROTOTYPE)
+#if defined(HAVE_LSEEK64) && defined(HAVE_LSEEK64_PROTOTYPE) || defined(__UCLIBC__)
 
 #define my_llseek lseek64
 


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux