summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-02-22 14:59:31 +1100
committerNeil Brown <neilb@suse.de>2007-02-22 14:59:31 +1100
commitf783ca4fa110dcfa9b1e578193622c8c0ab77ec7 (patch)
tree5f086c4a7bd74594b580335d68da4281cf377e3d /mdadm.h
parenteb9199fb5e761762a42408fb6dc56f61ff53a4a1 (diff)
downloadmdadm-f783ca4fa110dcfa9b1e578193622c8c0ab77ec7.tar.gz
mdadm-f783ca4fa110dcfa9b1e578193622c8c0ab77ec7.tar.xz
mdadm-f783ca4fa110dcfa9b1e578193622c8c0ab77ec7.zip
Don't include uclibc as part of 'everything'
As I cannot compile in on x86-64. Also, small dietlibc fix
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index 3831f42..1fe58a2 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -31,6 +31,10 @@
#include <unistd.h>
#ifndef __dietlibc__
extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence));
+#else
+# ifdef __NO_STAT64
+# define lseek64 lseek
+# endif
#endif
#include <sys/types.h>