Don't include uclibc as part of 'everything'

As I cannot compile in on x86-64.
Also, small dietlibc fix
This commit is contained in:
Neil Brown 2007-02-22 14:59:31 +11:00
parent eb9199fb5e
commit f783ca4fa1
2 changed files with 6 additions and 1 deletions

View File

@ -89,7 +89,8 @@ endif
all : mdadm mdadm.man md.man mdadm.conf.man
everything: all mdadm.static mdadm.uclibc swap_super test_stripe mdassemble mdassemble.uclibc mdassemble.static mdassemble.man
everything: all mdadm.static swap_super test_stripe mdassemble mdassemble.static mdassemble.man
# mdadm.uclibc and mdassemble.uclibc don't work on x86-64
# mdadm.tcc doesn't work..
mdadm : $(OBJS)

View File

@ -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>