maximilian attems wrote:
klibc still misses a lot functionality to let mdadm link against,
this small step helps to get to the real trouble.. :)
Signed-off-by: maximilian attems <max@xxxxxxx>
---
mdadm.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/mdadm.h b/mdadm.h
index ac7d4b4..dba09f0 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -29,7 +29,7 @@
#define _GNU_SOURCE
#include <unistd.h>
-#ifndef __dietlibc__
+#if !defined(__dietlibc__) && !defined(__KLIBC__)
extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence));
#else
Wouldn't it be better to just compile with -D_FILE_OFFSET_BITS=64 on all
libraries instead of using the LFS cruft?
-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html