]> err.no Git - util-linux/commitdiff
libblkid: allow linking with uClibc
authorDaniel Mierswa <impulze@impulze.org>
Mon, 17 Aug 2009 05:43:10 +0000 (07:43 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Aug 2009 09:16:17 +0000 (11:16 +0200)
uClibc uses lseek64 as llseek, so use it.

Signed-off-by: Daniel Mierswa <impulze@impulze.org>
shlibs/blkid/src/llseek.c

index 5bd0e516782a81bb99ebbadbebc033a01d076a24..75b7d249c82fb107e14c429b5296e6a8888ee4c3 100644 (file)
@@ -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